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

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

Issue 10790144: Revert 148046 - Revert 147650 - Implement installation of the Chrome App Host. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1215/src/
Patch Set: Created 8 years, 5 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/configuration.h ('k') | chrome/installer/mini_installer/mini_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/mini_installer/configuration.cc
===================================================================
--- chrome/installer/mini_installer/configuration.cc (revision 148103)
+++ chrome/installer/mini_installer/configuration.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -34,6 +34,7 @@
argument_count_ = 0;
has_chrome_ = false;
has_chrome_frame_ = false;
+ has_app_host_ = false;
is_multi_install_ = false;
is_system_level_ = false;
}
@@ -59,6 +60,8 @@
has_chrome_ = true;
else if (0 == ::lstrcmpi(args_[i], L"--chrome-frame"))
has_chrome_frame_ = true;
+ else if (0 == ::lstrcmpi(args_[i], L"--app-host"))
+ has_app_host_ = true;
else if (0 == ::lstrcmpi(args_[i], L"--multi-install"))
is_multi_install_ = true;
else if (0 == ::lstrcmpi(args_[i], L"--system-level"))
@@ -67,9 +70,9 @@
operation_ = CLEANUP;
}
- // Single-install is either Chrome or Chrome Frame.
+ // Single-install defaults to Chrome.
if (!is_multi_install_)
- has_chrome_ = !has_chrome_frame_;
+ has_chrome_ = !(has_chrome_frame_ || has_app_host_);
}
return args_ != NULL;
}
« no previous file with comments | « chrome/installer/mini_installer/configuration.h ('k') | chrome/installer/mini_installer/mini_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698