| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 std::string GetSafeBrowsingName() override; | 59 std::string GetSafeBrowsingName() override; |
| 60 | 60 |
| 61 // This method reads data from the Google Update ClientState key for | 61 // This method reads data from the Google Update ClientState key for |
| 62 // potential use in the uninstall survey. It must be called before the | 62 // potential use in the uninstall survey. It must be called before the |
| 63 // key returned by GetVersionKey() is deleted. | 63 // key returned by GetVersionKey() is deleted. |
| 64 base::string16 GetDistributionData(HKEY root_key) override; | 64 base::string16 GetDistributionData(HKEY root_key) override; |
| 65 | 65 |
| 66 base::string16 GetUninstallRegPath() override; | 66 base::string16 GetUninstallRegPath() override; |
| 67 | 67 |
| 68 bool GetCommandExecuteImplClsid(base::string16* handler_class_uuid) override; | 68 base::string16 GetCommandExecuteImplClsid() override; |
| 69 | 69 |
| 70 void UpdateInstallStatus( | 70 void UpdateInstallStatus( |
| 71 bool system_install, | 71 bool system_install, |
| 72 installer::ArchiveType archive_type, | 72 installer::ArchiveType archive_type, |
| 73 installer::InstallStatus install_status) override; | 73 installer::InstallStatus install_status) override; |
| 74 | 74 |
| 75 bool ShouldSetExperimentLabels() override; | 75 bool ShouldSetExperimentLabels() override; |
| 76 | 76 |
| 77 bool HasUserExperiments() override; | 77 bool HasUserExperiments() override; |
| 78 | 78 |
| 79 protected: | 79 protected: |
| 80 // Disallow construction from others. | 80 // Disallow construction from others. |
| 81 GoogleChromeDistribution(); | 81 GoogleChromeDistribution(); |
| 82 | 82 |
| 83 explicit GoogleChromeDistribution( | 83 explicit GoogleChromeDistribution( |
| 84 scoped_ptr<AppRegistrationData> app_reg_data); | 84 scoped_ptr<AppRegistrationData> app_reg_data); |
| 85 | 85 |
| 86 private: | 86 private: |
| 87 friend class BrowserDistribution; | 87 friend class BrowserDistribution; |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 90 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
| OLD | NEW |