OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 virtual std::wstring GetAppDescription() OVERRIDE; | 49 virtual std::wstring GetAppDescription() OVERRIDE; |
50 | 50 |
51 virtual std::string GetSafeBrowsingName() OVERRIDE; | 51 virtual std::string GetSafeBrowsingName() OVERRIDE; |
52 | 52 |
53 virtual std::wstring GetStateKey() OVERRIDE; | 53 virtual std::wstring GetStateKey() OVERRIDE; |
54 | 54 |
55 virtual std::wstring GetStateMediumKey() OVERRIDE; | 55 virtual std::wstring GetStateMediumKey() OVERRIDE; |
56 | 56 |
57 virtual std::wstring GetStatsServerURL() OVERRIDE; | 57 virtual std::wstring GetStatsServerURL() OVERRIDE; |
58 | 58 |
| 59 virtual std::string GetNetworkStatsServer() const OVERRIDE; |
| 60 |
59 // This method reads data from the Google Update ClientState key for | 61 // This method reads data from the Google Update ClientState key for |
60 // 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 |
61 // key returned by GetVersionKey() is deleted. | 63 // key returned by GetVersionKey() is deleted. |
62 virtual std::wstring GetDistributionData(HKEY root_key) OVERRIDE; | 64 virtual std::wstring GetDistributionData(HKEY root_key) OVERRIDE; |
63 | 65 |
64 virtual std::wstring GetUninstallLinkName() OVERRIDE; | 66 virtual std::wstring GetUninstallLinkName() OVERRIDE; |
65 | 67 |
66 virtual std::wstring GetUninstallRegPath() OVERRIDE; | 68 virtual std::wstring GetUninstallRegPath() OVERRIDE; |
67 | 69 |
68 virtual std::wstring GetVersionKey() OVERRIDE; | 70 virtual std::wstring GetVersionKey() OVERRIDE; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 // Returns true if at least one uninstall metric was found in | 123 // Returns true if at least one uninstall metric was found in |
122 // uninstall_metrics_dict, false otherwise. | 124 // uninstall_metrics_dict, false otherwise. |
123 virtual bool BuildUninstallMetricsString( | 125 virtual bool BuildUninstallMetricsString( |
124 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics); | 126 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics); |
125 | 127 |
126 // The product ID for Google Update. | 128 // The product ID for Google Update. |
127 std::wstring product_guid_; | 129 std::wstring product_guid_; |
128 }; | 130 }; |
129 | 131 |
130 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 132 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
OLD | NEW |