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

Unified Diff: chrome/installer/mini_installer/mini_installer.cc

Issue 2839009: Include the Chrome Frame binary in Chrome installers. Note that it will only ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/mini_installer/chrome_frame_appid.cc ('k') | chrome/installer/setup/setup_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/mini_installer/mini_installer.cc
===================================================================
--- chrome/installer/mini_installer/mini_installer.cc (revision 50874)
+++ chrome/installer/mini_installer/mini_installer.cc (working copy)
@@ -153,11 +153,14 @@
const wchar_t* app_guid = google_update::kAppGuid;
int args_num;
+
wchar_t* cmd_line = ::GetCommandLine();
wchar_t** args = ::CommandLineToArgvW(cmd_line, &args_num);
for (int i = 1; i < args_num; ++i) {
if (0 == ::lstrcmpi(args[i], L"--chrome-sxs"))
app_guid = google_update::kSxSAppGuid;
+ else if (0 == ::lstrcmpi(args[i], L"--chrome-frame"))
+ app_guid = google_update::kChromeFrameAppGuid;
}
if (!SafeStrCopy(ap_registry_key, _countof(ap_registry_key),
« no previous file with comments | « chrome/installer/mini_installer/chrome_frame_appid.cc ('k') | chrome/installer/setup/setup_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698