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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 154 virtual void UpdateInstallStatus(bool system_install, | 154 virtual void UpdateInstallStatus(bool system_install, |
| 155 installer::ArchiveType archive_type, | 155 installer::ArchiveType archive_type, |
| 156 installer::InstallStatus install_status); | 156 installer::InstallStatus install_status); |
| 157 | 157 |
| 158 // Returns true if this distribution should set the Omaha experiment_labels | 158 // Returns true if this distribution should set the Omaha experiment_labels |
| 159 // registry value. | 159 // registry value. |
| 160 virtual bool ShouldSetExperimentLabels(); | 160 virtual bool ShouldSetExperimentLabels(); |
| 161 | 161 |
| 162 virtual bool HasUserExperiments(); | 162 virtual bool HasUserExperiments(); |
| 163 | 163 |
| 164 // Returning zero means that there is no hotkey. | |
| 165 virtual int GetSafeModeHotkey(); | |
|
robertshield
2013/11/04 02:19:55
should this return a uint32 instead?
grt (UTC plus 2)
2013/11/04 15:25:14
what about uint16 (IShellLink::SetHotkey takes a W
cpu_(ooo_6.6-7.5)
2013/11/04 19:10:57
Done.
Since I am not ifdefing for windows I rathe
| |
| 166 | |
| 164 protected: | 167 protected: |
| 165 explicit BrowserDistribution(Type type); | 168 explicit BrowserDistribution(Type type); |
| 166 | 169 |
| 167 template<class DistributionClass> | 170 template<class DistributionClass> |
| 168 static BrowserDistribution* GetOrCreateBrowserDistribution( | 171 static BrowserDistribution* GetOrCreateBrowserDistribution( |
| 169 BrowserDistribution** dist); | 172 BrowserDistribution** dist); |
| 170 | 173 |
| 171 const Type type_; | 174 const Type type_; |
| 172 | 175 |
| 173 private: | 176 private: |
| 174 BrowserDistribution(); | 177 BrowserDistribution(); |
| 175 | 178 |
| 176 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 179 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
| 177 }; | 180 }; |
| 178 | 181 |
| 179 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 182 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| OLD | NEW |