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

Unified Diff: chrome/installer/util/channel_info.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/util/channel_info.h ('k') | chrome/installer/util/chrome_app_host_distribution.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/channel_info.cc
===================================================================
--- chrome/installer/util/channel_info.cc (revision 148103)
+++ chrome/installer/util/channel_info.cc (working copy)
@@ -15,6 +15,7 @@
const wchar_t kModChrome[] = L"-chrome";
const wchar_t kModChromeFrame[] = L"-chromeframe";
+const wchar_t kModAppHost[] = L"-apphost";
const wchar_t kModMultiInstall[] = L"-multi";
const wchar_t kModReadyMode[] = L"-readymode";
const wchar_t kModStage[] = L"-stage:";
@@ -31,6 +32,7 @@
kModMultiInstall,
kModChrome,
kModChromeFrame,
+ kModAppHost,
kModReadyMode,
kSfxMultiFail,
kSfxFull
@@ -41,6 +43,7 @@
MOD_MULTI_INSTALL,
MOD_CHROME,
MOD_CHROME_FRAME,
+ MOD_APP_HOST,
MOD_READY_MODE,
SFX_MULTI_FAIL,
SFX_FULL,
@@ -193,6 +196,14 @@
return SetModifier(MOD_CHROME_FRAME, value, &value_);
}
+bool ChannelInfo::IsAppHost() const {
+ return HasModifier(MOD_APP_HOST, value_);
+}
+
+bool ChannelInfo::SetAppHost(bool value) {
+ return SetModifier(MOD_APP_HOST, value, &value_);
+}
+
bool ChannelInfo::IsMultiInstall() const {
return HasModifier(MOD_MULTI_INSTALL, value_);
}
« no previous file with comments | « chrome/installer/util/channel_info.h ('k') | chrome/installer/util/chrome_app_host_distribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698