summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-14 21:52:51 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-14 21:52:51 +0000
commita964e11511d9d88667b1bdca3a71d676dd5f8954 (patch)
treeec789e280930e8ed8f50f35180bc07f2f7d143f6 /chrome/common
parent982414001c0484b9f9959a3a66708ef7f304776c (diff)
downloadchromium_src-a964e11511d9d88667b1bdca3a71d676dd5f8954.zip
chromium_src-a964e11511d9d88667b1bdca3a71d676dd5f8954.tar.gz
chromium_src-a964e11511d9d88667b1bdca3a71d676dd5f8954.tar.bz2
Implement private API for web store to determine app ID of
a given frame. BUG=73225 TEST= Review URL: http://codereview.chromium.org/6823068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81652 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_switches.cc4
-rw-r--r--chrome/common/chrome_switches.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 44aa7cd..efbb36b 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -47,6 +47,10 @@ const char kApp[] = "app";
// according to its configuration.
const char kAppId[] = "app-id";
+// Override the apps checkout URL, which is used to determine when to expose
+// some private APIs.
+const char kAppsCheckoutURL[] = "apps-checkout-url";
+
// Specifying this flag allows the webstorePrivate APIs to return browser (aka
// sync) login tokens to be used for auto-login in the Web Store (normally they
// do not).
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index 640e764..64bc63c 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -32,6 +32,7 @@ extern const char kAlwaysAuthorizePlugins[];
extern const char kAlwaysEnableDevTools[];
extern const char kApp[];
extern const char kAppId[];
+extern const char kAppsCheckoutURL[];
extern const char kAppsGalleryReturnTokens[];
extern const char kAppsGalleryURL[];
extern const char kAppsGalleryUpdateURL[];