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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 // key returned by GetVersionKey() is deleted. | 65 // key returned by GetVersionKey() is deleted. |
66 virtual base::string16 GetDistributionData(HKEY root_key) override; | 66 virtual base::string16 GetDistributionData(HKEY root_key) override; |
67 | 67 |
68 virtual base::string16 GetUninstallLinkName() override; | 68 virtual base::string16 GetUninstallLinkName() override; |
69 | 69 |
70 virtual base::string16 GetUninstallRegPath() override; | 70 virtual base::string16 GetUninstallRegPath() override; |
71 | 71 |
72 virtual bool GetCommandExecuteImplClsid( | 72 virtual bool GetCommandExecuteImplClsid( |
73 base::string16* handler_class_uuid) override; | 73 base::string16* handler_class_uuid) override; |
74 | 74 |
75 virtual bool AppHostIsSupported() override; | |
76 | |
77 virtual void UpdateInstallStatus( | 75 virtual void UpdateInstallStatus( |
78 bool system_install, | 76 bool system_install, |
79 installer::ArchiveType archive_type, | 77 installer::ArchiveType archive_type, |
80 installer::InstallStatus install_status) override; | 78 installer::InstallStatus install_status) override; |
81 | 79 |
82 virtual bool ShouldSetExperimentLabels() override; | 80 virtual bool ShouldSetExperimentLabels() override; |
83 | 81 |
84 virtual bool HasUserExperiments() override; | 82 virtual bool HasUserExperiments() override; |
85 | 83 |
86 protected: | 84 protected: |
87 // Disallow construction from others. | 85 // Disallow construction from others. |
88 GoogleChromeDistribution(); | 86 GoogleChromeDistribution(); |
89 | 87 |
90 explicit GoogleChromeDistribution( | 88 explicit GoogleChromeDistribution( |
91 scoped_ptr<AppRegistrationData> app_reg_data); | 89 scoped_ptr<AppRegistrationData> app_reg_data); |
92 | 90 |
93 private: | 91 private: |
94 friend class BrowserDistribution; | 92 friend class BrowserDistribution; |
95 }; | 93 }; |
96 | 94 |
97 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 95 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
OLD | NEW |