Chromium Code Reviews| 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 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 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 124 virtual base::string16 GetAppDescription(); | 124 virtual base::string16 GetAppDescription(); |
| 125 | 125 |
| 126 virtual base::string16 GetLongAppDescription(); | 126 virtual base::string16 GetLongAppDescription(); |
| 127 | 127 |
| 128 virtual std::string GetSafeBrowsingName(); | 128 virtual std::string GetSafeBrowsingName(); |
| 129 | 129 |
| 130 #if defined(OS_WIN) | 130 #if defined(OS_WIN) |
| 131 virtual base::string16 GetDistributionData(HKEY root_key); | 131 virtual base::string16 GetDistributionData(HKEY root_key); |
| 132 #endif | 132 #endif |
| 133 | 133 |
| 134 // Returns the registry path under which registry keys for this distribution | |
|
grt (UTC plus 2)
2015/11/26 15:33:34
How about documenting the contract for this key a
fdoray
2015/11/26 18:54:03
Done.
| |
| 135 // should reside. | |
| 136 base::string16 GetRegistryPath(); | |
| 137 | |
| 134 virtual base::string16 GetUninstallRegPath(); | 138 virtual base::string16 GetUninstallRegPath(); |
| 135 | 139 |
| 136 // Returns an enum specifying the different ways in which this distribution | 140 // Returns an enum specifying the different ways in which this distribution |
| 137 // is allowed to be set as default. | 141 // is allowed to be set as default. |
| 138 virtual DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy(); | 142 virtual DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy(); |
| 139 | 143 |
| 140 virtual bool CanCreateDesktopShortcuts(); | 144 virtual bool CanCreateDesktopShortcuts(); |
| 141 | 145 |
| 142 virtual bool GetChromeChannel(base::string16* channel); | 146 virtual bool GetChromeChannel(base::string16* channel); |
| 143 | 147 |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 166 | 170 |
| 167 scoped_ptr<AppRegistrationData> app_reg_data_; | 171 scoped_ptr<AppRegistrationData> app_reg_data_; |
| 168 | 172 |
| 169 private: | 173 private: |
| 170 BrowserDistribution(); | 174 BrowserDistribution(); |
| 171 | 175 |
| 172 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 176 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
| 173 }; | 177 }; |
| 174 | 178 |
| 175 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 179 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| OLD | NEW |