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 declares a class that contains various method related to branding. | 5 // This file declares a class that contains various method related to branding. |
6 | 6 |
7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 virtual std::wstring GetLongAppDescription(); | 81 virtual std::wstring GetLongAppDescription(); |
82 | 82 |
83 virtual std::string GetSafeBrowsingName(); | 83 virtual std::string GetSafeBrowsingName(); |
84 | 84 |
85 virtual std::wstring GetStateKey(); | 85 virtual std::wstring GetStateKey(); |
86 | 86 |
87 virtual std::wstring GetStateMediumKey(); | 87 virtual std::wstring GetStateMediumKey(); |
88 | 88 |
89 virtual std::wstring GetStatsServerURL(); | 89 virtual std::wstring GetStatsServerURL(); |
90 | 90 |
| 91 virtual std::string GetNetworkStatsServer() const; |
| 92 |
91 #if defined(OS_WIN) | 93 #if defined(OS_WIN) |
92 virtual std::wstring GetDistributionData(HKEY root_key); | 94 virtual std::wstring GetDistributionData(HKEY root_key); |
93 #endif | 95 #endif |
94 | 96 |
95 virtual std::wstring GetUninstallLinkName(); | 97 virtual std::wstring GetUninstallLinkName(); |
96 | 98 |
97 virtual std::wstring GetUninstallRegPath(); | 99 virtual std::wstring GetUninstallRegPath(); |
98 | 100 |
99 virtual std::wstring GetVersionKey(); | 101 virtual std::wstring GetVersionKey(); |
100 | 102 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 141 |
140 const Type type_; | 142 const Type type_; |
141 | 143 |
142 private: | 144 private: |
143 BrowserDistribution(); | 145 BrowserDistribution(); |
144 | 146 |
145 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 147 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
146 }; | 148 }; |
147 | 149 |
148 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 150 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
OLD | NEW |