Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: chrome/installer/util/google_chrome_distribution.h

Issue 2339001: Separate version env variable for different distributions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file extends generic BrowserDistribution class to declare Google Chrome 5 // This file extends generic BrowserDistribution class to declare Google Chrome
6 // specific implementation. 6 // specific implementation.
7 7
8 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 8 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
9 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 9 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // potential use in the uninstall survey. It must be called before the 69 // potential use in the uninstall survey. It must be called before the
70 // key returned by GetVersionKey() is deleted. 70 // key returned by GetVersionKey() is deleted.
71 virtual std::wstring GetDistributionData(RegKey* key); 71 virtual std::wstring GetDistributionData(RegKey* key);
72 72
73 virtual std::wstring GetUninstallLinkName(); 73 virtual std::wstring GetUninstallLinkName();
74 74
75 virtual std::wstring GetUninstallRegPath(); 75 virtual std::wstring GetUninstallRegPath();
76 76
77 virtual std::wstring GetVersionKey(); 77 virtual std::wstring GetVersionKey();
78 78
79 virtual std::wstring GetEnvVersionKey();
80
79 virtual void UpdateDiffInstallStatus(bool system_install, 81 virtual void UpdateDiffInstallStatus(bool system_install,
80 bool incremental_install, installer_util::InstallStatus install_status); 82 bool incremental_install, installer_util::InstallStatus install_status);
81 83
82 virtual void LaunchUserExperiment(installer_util::InstallStatus status, 84 virtual void LaunchUserExperiment(installer_util::InstallStatus status,
83 const installer::Version& version, 85 const installer::Version& version,
84 bool system_install); 86 bool system_install);
85 87
86 // Assuming that the user qualifies, this function performs the inactive user 88 // Assuming that the user qualifies, this function performs the inactive user
87 // toast experiment. It will use chrome to show the UI and it will record the 89 // toast experiment. It will use chrome to show the UI and it will record the
88 // outcome in the registry. 90 // outcome in the registry.
(...skipping 29 matching lines...) Expand all
118 // Returns true if at least one uninstall metric was found in 120 // Returns true if at least one uninstall metric was found in
119 // uninstall_metrics_dict, false otherwise. 121 // uninstall_metrics_dict, false otherwise.
120 virtual bool BuildUninstallMetricsString( 122 virtual bool BuildUninstallMetricsString(
121 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics); 123 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics);
122 124
123 // The product ID for Google Update. 125 // The product ID for Google Update.
124 std::wstring product_guid_; 126 std::wstring product_guid_;
125 }; 127 };
126 128
127 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 129 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/chrome_frame_distribution.cc ('k') | chrome/installer/util/google_chrome_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698