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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 #endif | 112 #endif |
113 | 113 |
114 virtual string16 GetUninstallLinkName(); | 114 virtual string16 GetUninstallLinkName(); |
115 | 115 |
116 virtual string16 GetUninstallRegPath(); | 116 virtual string16 GetUninstallRegPath(); |
117 | 117 |
118 virtual string16 GetVersionKey(); | 118 virtual string16 GetVersionKey(); |
119 | 119 |
120 virtual bool CanSetAsDefault(); | 120 virtual bool CanSetAsDefault(); |
121 | 121 |
| 122 virtual void DebugEnableSetAsDefault(); |
| 123 |
122 virtual bool CanCreateDesktopShortcuts(); | 124 virtual bool CanCreateDesktopShortcuts(); |
123 | 125 |
124 virtual bool GetChromeChannel(string16* channel); | 126 virtual bool GetChromeChannel(string16* channel); |
125 | 127 |
126 // Returns true if this distribution includes a DelegateExecute verb handler, | 128 // Returns true if this distribution includes a DelegateExecute verb handler, |
127 // and provides the CommandExecuteImpl class UUID if |handler_class_uuid| is | 129 // and provides the CommandExecuteImpl class UUID if |handler_class_uuid| is |
128 // non-NULL. | 130 // non-NULL. |
129 virtual bool GetCommandExecuteImplClsid(string16* handler_class_uuid); | 131 virtual bool GetCommandExecuteImplClsid(string16* handler_class_uuid); |
130 | 132 |
131 // Returns true if this distribution uses app_host.exe to run platform apps. | 133 // Returns true if this distribution uses app_host.exe to run platform apps. |
(...skipping 18 matching lines...) Expand all Loading... |
150 | 152 |
151 const Type type_; | 153 const Type type_; |
152 | 154 |
153 private: | 155 private: |
154 BrowserDistribution(); | 156 BrowserDistribution(); |
155 | 157 |
156 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 158 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
157 }; | 159 }; |
158 | 160 |
159 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 161 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
OLD | NEW |