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

Unified Diff: chrome/common/chrome_switches.cc

Issue 10907104: Support an --install-from-webstore command line switch (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: responded to review comments Created 8 years, 3 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
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index b6fd0adfd9002293394edeeddd192e4b4a341c0b..6b38c46251a41f2d9c177010f4326550d7b55c0c 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -91,6 +91,13 @@ const char kAppsGalleryURL[] = "apps-gallery-url";
// The update url used by gallery/webstore extensions.
const char kAppsGalleryUpdateURL[] = "apps-gallery-update-url";
+// Causes Chrome to attempt to get metadata from the webstore for the
+// app/extension id given, and then prompt the user to download and install it.
+const char kInstallFromWebstore[] = "install-from-webstore";
+
+// TODO(asargent) - remove this flag and change uses of it to instead use
+// kInstallFromWebstore.
+//
// Specifies the URL of an application manifest to retrieve. The user will be
// prompted for consent and the application retrieved/installed if consented.
const char kAppsInstallFromManifestURL[] = "apps-install-from-manifest-url";

Powered by Google App Engine
This is Rietveld 408576698