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

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

Issue 165382: Merge 22284 - Refactoring of master preferences parsing before adding a new p... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 years, 4 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
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/chrome/installer/util/google_chrome_distribution.h:r69-2775
Merged /trunk/src/chrome/installer/util/google_chrome_distribution.h:r22284
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 virtual std::wstring GetUninstallRegPath(); 74 virtual std::wstring GetUninstallRegPath();
75 75
76 virtual std::wstring GetVersionKey(); 76 virtual std::wstring GetVersionKey();
77 77
78 virtual void UpdateDiffInstallStatus(bool system_install, 78 virtual void UpdateDiffInstallStatus(bool system_install,
79 bool incremental_install, installer_util::InstallStatus install_status); 79 bool incremental_install, installer_util::InstallStatus install_status);
80 80
81 virtual void LaunchUserExperiment(installer_util::InstallStatus status, 81 virtual void LaunchUserExperiment(installer_util::InstallStatus status,
82 const installer::Version& version, 82 const installer::Version& version,
83 bool system_install, int options); 83 bool system_install);
84 84
85 // Assuming that the user qualifies, this function performs the inactive user 85 // Assuming that the user qualifies, this function performs the inactive user
86 // toast experiment. It will use chrome to show the UI and it will record the 86 // toast experiment. It will use chrome to show the UI and it will record the
87 // outcome in the registry. 87 // outcome in the registry.
88 virtual void InactiveUserToastExperiment(); 88 virtual void InactiveUserToastExperiment();
89 89
90 private: 90 private:
91 friend class BrowserDistribution; 91 friend class BrowserDistribution;
92 FRIEND_TEST(GoogleChromeDistributionTest, TestExtractUninstallMetrics); 92 FRIEND_TEST(GoogleChromeDistributionTest, TestExtractUninstallMetrics);
93 93
(...skipping 14 matching lines...) Expand all
108 // Returns true if at least one uninstall metric was found in 108 // Returns true if at least one uninstall metric was found in
109 // uninstall_metrics_dict, false otherwise. 109 // uninstall_metrics_dict, false otherwise.
110 virtual bool BuildUninstallMetricsString( 110 virtual bool BuildUninstallMetricsString(
111 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics); 111 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics);
112 112
113 // Disallow construction from non-friends. 113 // Disallow construction from non-friends.
114 GoogleChromeDistribution() {} 114 GoogleChromeDistribution() {}
115 }; 115 };
116 116
117 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 117 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/browser_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