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

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

Issue 10103020: Only do DelegateExecute verb handler registration for Google Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ToT Created 8 years, 8 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
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/browser_distribution.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 virtual std::wstring GetVersionKey(); 109 virtual std::wstring GetVersionKey();
110 110
111 virtual bool CanSetAsDefault(); 111 virtual bool CanSetAsDefault();
112 112
113 virtual bool CanCreateDesktopShortcuts(); 113 virtual bool CanCreateDesktopShortcuts();
114 114
115 virtual int GetIconIndex(); 115 virtual int GetIconIndex();
116 116
117 virtual bool GetChromeChannel(std::wstring* channel); 117 virtual bool GetChromeChannel(std::wstring* channel);
118 118
119 // Returns true if the distribution includes a DelegateExecute verb handler,
120 // and provides the COM registration data if so:
121 // |handler_class_uuid| is the CommandExecuteImpl class UUID.
122 // |type_lib_uuid| and |type_lib_version| identify its type library.
123 // |interface_uuid| is the ICommandExecuteImpl interface UUID.
124 virtual bool GetDelegateExecuteHandlerData(string16* handler_class_uuid,
125 string16* type_lib_uuid,
126 string16* type_lib_version,
127 string16* interface_uuid);
128
119 virtual void UpdateInstallStatus(bool system_install, 129 virtual void UpdateInstallStatus(bool system_install,
120 installer::ArchiveType archive_type, 130 installer::ArchiveType archive_type,
121 installer::InstallStatus install_status); 131 installer::InstallStatus install_status);
122 132
123 // Gets the experiment details for a given language-brand combo. If |flavor| 133 // Gets the experiment details for a given language-brand combo. If |flavor|
124 // is -1, then a flavor will be selected at random. |experiment| is the struct 134 // is -1, then a flavor will be selected at random. |experiment| is the struct
125 // you want to write the experiment information to. Returns false if no 135 // you want to write the experiment information to. Returns false if no
126 // experiment details could be gathered. 136 // experiment details could be gathered.
127 virtual bool GetExperimentDetails(UserExperiment* experiment, int flavor); 137 virtual bool GetExperimentDetails(UserExperiment* experiment, int flavor);
128 138
(...skipping 22 matching lines...) Expand all
151 161
152 const Type type_; 162 const Type type_;
153 163
154 private: 164 private:
155 BrowserDistribution(); 165 BrowserDistribution();
156 166
157 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); 167 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution);
158 }; 168 };
159 169
160 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 170 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/browser_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698