| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |