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

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

Issue 11359133: Add default icon to app_host.exe, and use it in shortcuts during installation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Renaming GetChromiumIconString() => GetChromiumIconLocation(). Created 8 years, 1 month 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
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 L"Google Chrome Frame"; 105 L"Google Chrome Frame";
106 } 106 }
107 107
108 string16 ChromeFrameDistribution::GetVersionKey() { 108 string16 ChromeFrameDistribution::GetVersionKey() {
109 string16 key(google_update::kRegPathClients); 109 string16 key(google_update::kRegPathClients);
110 key.append(L"\\"); 110 key.append(L"\\");
111 key.append(kChromeFrameGuid); 111 key.append(kChromeFrameGuid);
112 return key; 112 return key;
113 } 113 }
114 114
115 string16 ChromeFrameDistribution::GetIconFilename() {
116 return installer::kChromeExe;
117 }
118
119 int ChromeFrameDistribution::GetIconIndex() {
120 return 0;
121 }
122
115 bool ChromeFrameDistribution::CanSetAsDefault() { 123 bool ChromeFrameDistribution::CanSetAsDefault() {
116 return false; 124 return false;
117 } 125 }
118 126
119 bool ChromeFrameDistribution::CanCreateDesktopShortcuts() { 127 bool ChromeFrameDistribution::CanCreateDesktopShortcuts() {
120 return false; 128 return false;
121 } 129 }
122 130
123 bool ChromeFrameDistribution::GetCommandExecuteImplClsid( 131 bool ChromeFrameDistribution::GetCommandExecuteImplClsid(
124 string16* handler_class_uuid) { 132 string16* handler_class_uuid) {
125 return false; 133 return false;
126 } 134 }
127 135
128 void ChromeFrameDistribution::UpdateInstallStatus(bool system_install, 136 void ChromeFrameDistribution::UpdateInstallStatus(bool system_install,
129 installer::ArchiveType archive_type, 137 installer::ArchiveType archive_type,
130 installer::InstallStatus install_status) { 138 installer::InstallStatus install_status) {
131 #if defined(GOOGLE_CHROME_BUILD) 139 #if defined(GOOGLE_CHROME_BUILD)
132 GoogleUpdateSettings::UpdateInstallStatus(system_install, 140 GoogleUpdateSettings::UpdateInstallStatus(system_install,
133 archive_type, InstallUtil::GetInstallReturnCode(install_status), 141 archive_type, InstallUtil::GetInstallReturnCode(install_status),
134 kChromeFrameGuid); 142 kChromeFrameGuid);
135 #endif 143 #endif
136 } 144 }
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