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 #pragma once | 10 #pragma once |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 | 48 |
49 virtual std::wstring GetStateKey(); | 49 virtual std::wstring GetStateKey(); |
50 | 50 |
51 virtual std::wstring GetStateMediumKey(); | 51 virtual std::wstring GetStateMediumKey(); |
52 | 52 |
53 virtual std::wstring GetStatsServerURL(); | 53 virtual std::wstring GetStatsServerURL(); |
54 | 54 |
55 // This method reads data from the Google Update ClientState key for | 55 // This method reads data from the Google Update ClientState key for |
56 // potential use in the uninstall survey. It must be called before the | 56 // potential use in the uninstall survey. It must be called before the |
57 // key returned by GetVersionKey() is deleted. | 57 // key returned by GetVersionKey() is deleted. |
58 virtual std::wstring GetDistributionData(RegKey* key); | 58 virtual std::wstring GetDistributionData(base::win::RegKey* key); |
59 | 59 |
60 virtual std::wstring GetUninstallLinkName(); | 60 virtual std::wstring GetUninstallLinkName(); |
61 | 61 |
62 virtual std::wstring GetUninstallRegPath(); | 62 virtual std::wstring GetUninstallRegPath(); |
63 | 63 |
64 virtual std::wstring GetVersionKey(); | 64 virtual std::wstring GetVersionKey(); |
65 | 65 |
66 virtual std::wstring GetEnvVersionKey(); | 66 virtual std::wstring GetEnvVersionKey(); |
67 | 67 |
68 virtual void UpdateDiffInstallStatus(bool system_install, | 68 virtual void UpdateDiffInstallStatus(bool system_install, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // Returns true if at least one uninstall metric was found in | 107 // Returns true if at least one uninstall metric was found in |
108 // uninstall_metrics_dict, false otherwise. | 108 // uninstall_metrics_dict, false otherwise. |
109 virtual bool BuildUninstallMetricsString( | 109 virtual bool BuildUninstallMetricsString( |
110 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics); | 110 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics); |
111 | 111 |
112 // The product ID for Google Update. | 112 // The product ID for Google Update. |
113 std::wstring product_guid_; | 113 std::wstring product_guid_; |
114 }; | 114 }; |
115 | 115 |
116 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 116 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
OLD | NEW |