Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: chrome/installer/util/browser_distribution.h

Issue 10386167: Always do DelegateExecute handler COM registration and make set dual mode prop on shortcuts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698