| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 std::wstring GetNewGoogleUpdateApKey(bool diff_install, | 53 std::wstring GetNewGoogleUpdateApKey(bool diff_install, |
| 54 installer_util::InstallStatus status, const std::wstring& value); | 54 installer_util::InstallStatus status, const std::wstring& value); |
| 55 | 55 |
| 56 virtual std::wstring GetPublisherName(); | 56 virtual std::wstring GetPublisherName(); |
| 57 | 57 |
| 58 virtual std::wstring GetAppDescription(); | 58 virtual std::wstring GetAppDescription(); |
| 59 | 59 |
| 60 virtual int GetInstallReturnCode( | 60 virtual int GetInstallReturnCode( |
| 61 installer_util::InstallStatus install_status); | 61 installer_util::InstallStatus install_status); |
| 62 | 62 |
| 63 virtual std::string GetSafeBrowsingName(); |
| 64 |
| 63 virtual std::wstring GetStateKey(); | 65 virtual std::wstring GetStateKey(); |
| 64 | 66 |
| 65 virtual std::wstring GetStateMediumKey(); | 67 virtual std::wstring GetStateMediumKey(); |
| 66 | 68 |
| 67 virtual std::wstring GetStatsServerURL(); | 69 virtual std::wstring GetStatsServerURL(); |
| 68 | 70 |
| 69 // This method reads data from the Google Update ClientState key for | 71 // This method reads data from the Google Update ClientState key for |
| 70 // potential use in the uninstall survey. It must be called before the | 72 // potential use in the uninstall survey. It must be called before the |
| 71 // key returned by GetVersionKey() is deleted. | 73 // key returned by GetVersionKey() is deleted. |
| 72 virtual std::wstring GetDistributionData(RegKey* key); | 74 virtual std::wstring GetDistributionData(RegKey* key); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 // Returns true if at least one uninstall metric was found in | 113 // Returns true if at least one uninstall metric was found in |
| 112 // uninstall_metrics_dict, false otherwise. | 114 // uninstall_metrics_dict, false otherwise. |
| 113 virtual bool BuildUninstallMetricsString( | 115 virtual bool BuildUninstallMetricsString( |
| 114 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics); | 116 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics); |
| 115 | 117 |
| 116 // Disallow construction from non-friends. | 118 // Disallow construction from non-friends. |
| 117 GoogleChromeDistribution() {} | 119 GoogleChromeDistribution() {} |
| 118 }; | 120 }; |
| 119 | 121 |
| 120 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 122 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
| OLD | NEW |