| 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 #pragma once | 10 #pragma once |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // potential use in the uninstall survey. It must be called before the | 67 // potential use in the uninstall survey. It must be called before the |
| 68 // key returned by GetVersionKey() is deleted. | 68 // key returned by GetVersionKey() is deleted. |
| 69 virtual std::wstring GetDistributionData(HKEY root_key) OVERRIDE; | 69 virtual std::wstring GetDistributionData(HKEY root_key) OVERRIDE; |
| 70 | 70 |
| 71 virtual std::wstring GetUninstallLinkName() OVERRIDE; | 71 virtual std::wstring GetUninstallLinkName() OVERRIDE; |
| 72 | 72 |
| 73 virtual std::wstring GetUninstallRegPath() OVERRIDE; | 73 virtual std::wstring GetUninstallRegPath() OVERRIDE; |
| 74 | 74 |
| 75 virtual std::wstring GetVersionKey() OVERRIDE; | 75 virtual std::wstring GetVersionKey() OVERRIDE; |
| 76 | 76 |
| 77 virtual bool GetDelegateExecuteHandlerData(string16* handler_class_uuid, |
| 78 string16* type_lib_uuid, |
| 79 string16* type_lib_version, |
| 80 string16* interface_uuid) OVERRIDE; |
| 81 |
| 77 virtual void UpdateInstallStatus( | 82 virtual void UpdateInstallStatus( |
| 78 bool system_install, | 83 bool system_install, |
| 79 installer::ArchiveType archive_type, | 84 installer::ArchiveType archive_type, |
| 80 installer::InstallStatus install_status) OVERRIDE; | 85 installer::InstallStatus install_status) OVERRIDE; |
| 81 | 86 |
| 82 virtual bool GetExperimentDetails(UserExperiment* experiment, | 87 virtual bool GetExperimentDetails(UserExperiment* experiment, |
| 83 int flavor) OVERRIDE; | 88 int flavor) OVERRIDE; |
| 84 | 89 |
| 85 virtual void LaunchUserExperiment( | 90 virtual void LaunchUserExperiment( |
| 86 const FilePath& setup_path, | 91 const FilePath& setup_path, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 // Returns true if at least one uninstall metric was found in | 133 // Returns true if at least one uninstall metric was found in |
| 129 // uninstall_metrics_dict, false otherwise. | 134 // uninstall_metrics_dict, false otherwise. |
| 130 virtual bool BuildUninstallMetricsString( | 135 virtual bool BuildUninstallMetricsString( |
| 131 base::DictionaryValue* uninstall_metrics_dict, std::wstring* metrics); | 136 base::DictionaryValue* uninstall_metrics_dict, std::wstring* metrics); |
| 132 | 137 |
| 133 // The product ID for Google Update. | 138 // The product ID for Google Update. |
| 134 std::wstring product_guid_; | 139 std::wstring product_guid_; |
| 135 }; | 140 }; |
| 136 | 141 |
| 137 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 142 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
| OLD | NEW |