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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 virtual int GetIconIndex(); | 115 virtual int GetIconIndex(); |
116 | 116 |
117 virtual bool GetChromeChannel(string16* channel); | 117 virtual bool GetChromeChannel(string16* channel); |
118 | 118 |
119 // Returns true if the distribution includes a DelegateExecute verb handler, | 119 // Returns true if the distribution includes a DelegateExecute verb handler, |
120 // and provides the COM registration data if so: | 120 // and provides the COM registration data if so: |
121 // |handler_class_uuid| is the CommandExecuteImpl class UUID. | 121 // |handler_class_uuid| is the CommandExecuteImpl class UUID. |
122 // |type_lib_uuid| and |type_lib_version| identify its type library. | 122 // |type_lib_uuid| and |type_lib_version| identify its type library. |
123 // |interface_uuid| is the ICommandExecuteImpl interface UUID. | 123 // |interface_uuid| is the ICommandExecuteImpl interface UUID. |
124 // Only non-null parameters will be set, others will be ignored. | 124 // Only non-null parameters will be set, others will be ignored. |
125 // Implementations that only provide a DelegateExecute handler for use on | |
126 // certain OS versions must only return true when run on those supported | |
127 // systems. | |
128 virtual bool GetDelegateExecuteHandlerData(string16* handler_class_uuid, | 125 virtual bool GetDelegateExecuteHandlerData(string16* handler_class_uuid, |
129 string16* type_lib_uuid, | 126 string16* type_lib_uuid, |
130 string16* type_lib_version, | 127 string16* type_lib_version, |
131 string16* interface_uuid); | 128 string16* interface_uuid); |
132 | 129 |
133 virtual void UpdateInstallStatus(bool system_install, | 130 virtual void UpdateInstallStatus(bool system_install, |
134 installer::ArchiveType archive_type, | 131 installer::ArchiveType archive_type, |
135 installer::InstallStatus install_status); | 132 installer::InstallStatus install_status); |
136 | 133 |
137 // Gets the experiment details for a given language-brand combo. If |flavor| | 134 // Gets the experiment details for a given language-brand combo. If |flavor| |
(...skipping 27 matching lines...) Expand all Loading... |
165 | 162 |
166 const Type type_; | 163 const Type type_; |
167 | 164 |
168 private: | 165 private: |
169 BrowserDistribution(); | 166 BrowserDistribution(); |
170 | 167 |
171 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 168 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
172 }; | 169 }; |
173 | 170 |
174 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 171 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
OLD | NEW |