From 3813023bde420950c60d9d12a8610510b76da337 Mon Sep 17 00:00:00 2001 From: rockot Date: Thu, 6 Nov 2014 10:50:01 -0800 Subject: 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} --- extensions/shell/common/switches.cc | 3 +++ extensions/shell/common/switches.h | 1 + 2 files changed, 4 insertions(+) (limited to 'extensions/shell/common') 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[]; -- cgit v1.1