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

Side by Side Diff: chrome/installer/util/chrome_frame_distribution.cc

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
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 defines a specific implementation of BrowserDistribution class for 5 // This file defines a specific implementation of BrowserDistribution class for
6 // Chrome Frame. It overrides the bare minimum of methods necessary to get a 6 // Chrome Frame. It overrides the bare minimum of methods necessary to get a
7 // Chrome Frame installer that does not interact with Google Chrome or 7 // Chrome Frame installer that does not interact with Google Chrome or
8 // Chromium installations. 8 // Chromium installations.
9 9
10 #include "chrome/installer/util/chrome_frame_distribution.h" 10 #include "chrome/installer/util/chrome_frame_distribution.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 } 115 }
116 116
117 bool ChromeFrameDistribution::CanSetAsDefault() { 117 bool ChromeFrameDistribution::CanSetAsDefault() {
118 return false; 118 return false;
119 } 119 }
120 120
121 bool ChromeFrameDistribution::CanCreateDesktopShortcuts() { 121 bool ChromeFrameDistribution::CanCreateDesktopShortcuts() {
122 return false; 122 return false;
123 } 123 }
124 124
125 bool ChromeFrameDistribution::GetDelegateExecuteHandlerData(
126 string16* handler_class_uuid,
127 string16* type_lib_uuid,
128 string16* type_lib_version,
129 string16* interface_uuid) {
130 return false;
131 }
132
125 void ChromeFrameDistribution::UpdateInstallStatus(bool system_install, 133 void ChromeFrameDistribution::UpdateInstallStatus(bool system_install,
126 installer::ArchiveType archive_type, 134 installer::ArchiveType archive_type,
127 installer::InstallStatus install_status) { 135 installer::InstallStatus install_status) {
128 #if defined(GOOGLE_CHROME_BUILD) 136 #if defined(GOOGLE_CHROME_BUILD)
129 GoogleUpdateSettings::UpdateInstallStatus(system_install, 137 GoogleUpdateSettings::UpdateInstallStatus(system_install,
130 archive_type, InstallUtil::GetInstallReturnCode(install_status), 138 archive_type, InstallUtil::GetInstallReturnCode(install_status),
131 kChromeFrameGuid); 139 kChromeFrameGuid);
132 #endif 140 #endif
133 } 141 }
OLDNEW
« no previous file with comments | « chrome/installer/util/chrome_frame_distribution.h ('k') | chrome/installer/util/google_chrome_distribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698