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

Side by Side 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: rebased 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // Allows the webstorePrivate APIs to return browser (aka sync) login tokens to 84 // Allows the webstorePrivate APIs to return browser (aka sync) login tokens to
85 // be used for auto-login in the Web Store (normally they do not). 85 // be used for auto-login in the Web Store (normally they do not).
86 const char kAppsGalleryReturnTokens[] = "apps-gallery-return-tokens"; 86 const char kAppsGalleryReturnTokens[] = "apps-gallery-return-tokens";
87 87
88 // The URL to use for the gallery link in the app launcher. 88 // The URL to use for the gallery link in the app launcher.
89 const char kAppsGalleryURL[] = "apps-gallery-url"; 89 const char kAppsGalleryURL[] = "apps-gallery-url";
90 90
91 // The update url used by gallery/webstore extensions. 91 // The update url used by gallery/webstore extensions.
92 const char kAppsGalleryUpdateURL[] = "apps-gallery-update-url"; 92 const char kAppsGalleryUpdateURL[] = "apps-gallery-update-url";
93 93
94 // Causes Chrome to attempt to get metadata from the webstore for the
95 // app/extension id given, and then prompt the user to download and install it.
Mihai Parparita -not on Chrome 2012/09/16 06:42:38 Nit: capitalize ID.
asargent_no_longer_on_chrome 2012/09/17 05:11:45 Done.
96 const char kInstallFromWebstore[] = "install-from-webstore";
97
98 // TODO(asargent) - remove this flag and change uses of it to instead use
99 // kInstallFromWebstore.
100 //
94 // Specifies the URL of an application manifest to retrieve. The user will be 101 // Specifies the URL of an application manifest to retrieve. The user will be
95 // prompted for consent and the application retrieved/installed if consented. 102 // prompted for consent and the application retrieved/installed if consented.
96 const char kAppsInstallFromManifestURL[] = "apps-install-from-manifest-url"; 103 const char kAppsInstallFromManifestURL[] = "apps-install-from-manifest-url";
97 104
98 // Whether to always use the new app install bubble when installing an app. 105 // Whether to always use the new app install bubble when installing an app.
99 const char kAppsNewInstallBubble[] = "apps-new-install-bubble"; 106 const char kAppsNewInstallBubble[] = "apps-new-install-bubble";
100 107
101 // Disable throbber for extension apps. 108 // Disable throbber for extension apps.
102 const char kAppsNoThrob[] = "apps-no-throb"; 109 const char kAppsNoThrob[] = "apps-no-throb";
103 110
(...skipping 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 1587
1581 // ----------------------------------------------------------------------------- 1588 // -----------------------------------------------------------------------------
1582 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1589 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1583 // 1590 //
1584 // You were going to just dump your switches here, weren't you? Instead, please 1591 // You were going to just dump your switches here, weren't you? Instead, please
1585 // put them in alphabetical order above, or in order inside the appropriate 1592 // put them in alphabetical order above, or in order inside the appropriate
1586 // ifdef at the bottom. The order should match the header. 1593 // ifdef at the bottom. The order should match the header.
1587 // ----------------------------------------------------------------------------- 1594 // -----------------------------------------------------------------------------
1588 1595
1589 } // namespace switches 1596 } // namespace switches
OLDNEW
« 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