summaryrefslogtreecommitdiffstats
path: root/extensions/shell/common
diff options
context:
space:
mode:
authorrockot <rockot@chromium.org>2014-11-06 10:50:01 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-06 18:50:26 +0000
commit3813023bde420950c60d9d12a8610510b76da337 (patch)
treec4c1a71be980404150fce8f9848ae4ac831fb0c8 /extensions/shell/common
parentba4eca9bf6691e4ed55eee55a0bcac1a932b7688 (diff)
downloadchromium_src-3813023bde420950c60d9d12a8610510b76da337.zip
chromium_src-3813023bde420950c60d9d12a8610510b76da337.tar.gz
chromium_src-3813023bde420950c60d9d12a8610510b76da337.tar.bz2
Add rudimentary UpdateService to app_shell
It can download a CRX from the web store using an ID given at the command line. This wires up utility process support for app_shell and establishes a base for factoring additional extensions utility IPCs out of //chrome in the near future. BUG=398671 TBR=asargent@chromium.org for cloned dependency on omaha_query_params Review URL: https://codereview.chromium.org/693233003 Cr-Commit-Position: refs/heads/master@{#303055}
Diffstat (limited to 'extensions/shell/common')
-rw-r--r--extensions/shell/common/switches.cc3
-rw-r--r--extensions/shell/common/switches.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/extensions/shell/common/switches.cc b/extensions/shell/common/switches.cc
index 4b0ccc0..eef7cc9 100644
--- a/extensions/shell/common/switches.cc
+++ b/extensions/shell/common/switches.cc
@@ -13,6 +13,9 @@ const char kAppShellAppPath[] = "app-shell-app-path";
// Bounds for the host window to create (i.e. "800x600").
const char kAppShellHostWindowBounds[] = "app-shell-host-window-bounds";
+// ID of an extension CRX to be downloaded from the web store.
+const char kAppShellInstallCrx[] = "app-shell-install-crx";
+
// SSID of the preferred WiFi network.
const char kAppShellPreferredNetwork[] = "app-shell-preferred-network";
diff --git a/extensions/shell/common/switches.h b/extensions/shell/common/switches.h
index 30196ae..2c57677 100644
--- a/extensions/shell/common/switches.h
+++ b/extensions/shell/common/switches.h
@@ -12,6 +12,7 @@ namespace switches {
// alongside the definition of their values in the .cc file.
extern const char kAppShellAppPath[];
extern const char kAppShellHostWindowBounds[];
+extern const char kAppShellInstallCrx[];
extern const char kAppShellPreferredNetwork[];
extern const char kAppShellRefreshToken[];
extern const char kAppShellUser[];