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

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: updated comment 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..80b54dc47b2c7ae7b568ba19f3015273c2c3dc9b 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";
+// When passed on the command-line, this causes chrome to attempt to download
Mihai Parparita -not on Chrome 2012/09/07 22:01:36 Nit: capitalize Chrome.
asargent_no_longer_on_chrome 2012/09/14 23:24:35 Done.
+// and install an app from the webstore with the given id.
Mihai Parparita -not on Chrome 2012/09/07 22:01:36 Mention that there's an install prompt too (i.e. t
asargent_no_longer_on_chrome 2012/09/14 23:24:35 Done.
+const char kAppsInstallFromID[] = "apps-install-from-id";
Mihai Parparita -not on Chrome 2012/09/07 22:01:36 If it's not too late, I think "webstore" should be
asargent_no_longer_on_chrome 2012/09/14 23:24:35 Done.
+
+// TODO(asargent) - remove this flag and change uses of it to instead use
+// kAppsInstallFromID.
+//
// 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";
« chrome/browser/extensions/webstore_inline_installer.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698