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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 410683008: Remove kAppsGalleryInstallAutoConfirmForTests switch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 const char kAppListStartPageURL[] = "app-list-start-page-url"; 74 const char kAppListStartPageURL[] = "app-list-start-page-url";
75 75
76 // Overrides the apps checkout URL, which is used to determine when to expose 76 // Overrides the apps checkout URL, which is used to determine when to expose
77 // some private APIs. 77 // some private APIs.
78 const char kAppsCheckoutURL[] = "apps-checkout-url"; 78 const char kAppsCheckoutURL[] = "apps-checkout-url";
79 79
80 // The URL that the webstore APIs download extensions from. 80 // The URL that the webstore APIs download extensions from.
81 // Note: the URL must contain one '%s' for the extension ID. 81 // Note: the URL must contain one '%s' for the extension ID.
82 const char kAppsGalleryDownloadURL[] = "apps-gallery-download-url"; 82 const char kAppsGalleryDownloadURL[] = "apps-gallery-download-url";
83 83
84 // A setting to cause extension/app installs from the webstore skip the normal
85 // confirmation dialog. A value of 'accept' means to always act as if the dialog
86 // was accepted, and 'cancel' means to always act as if the dialog was
87 // cancelled.
88 //
89 // TODO (rdevlin.cronin): Remove this.
90 // This is not a good use of a command-line flag, as it would be equally
91 // effective as a global boolean. Additionally, this opens up a dangerous way
92 // for attackers to append a commandline flag and circumvent all user action for
93 // installing an extension.
94 const char kAppsGalleryInstallAutoConfirmForTests[] =
95 "apps-gallery-install-auto-confirm-for-tests";
96
97 // The URL to use for the gallery link in the app launcher. 84 // The URL to use for the gallery link in the app launcher.
98 const char kAppsGalleryURL[] = "apps-gallery-url"; 85 const char kAppsGalleryURL[] = "apps-gallery-url";
99 86
100 // The update url used by gallery/webstore extensions. 87 // The update url used by gallery/webstore extensions.
101 const char kAppsGalleryUpdateURL[] = "apps-gallery-update-url"; 88 const char kAppsGalleryUpdateURL[] = "apps-gallery-update-url";
102 89
103 // Value of GAIA auth code for --force-app-mode. 90 // Value of GAIA auth code for --force-app-mode.
104 const char kAppModeAuthCode[] = "app-mode-auth-code"; 91 const char kAppModeAuthCode[] = "app-mode-auth-code";
105 92
106 // Value of OAuth2 refresh token for --force-app-mode. 93 // Value of OAuth2 refresh token for --force-app-mode.
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1398 1385
1399 // ----------------------------------------------------------------------------- 1386 // -----------------------------------------------------------------------------
1400 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1387 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1401 // 1388 //
1402 // You were going to just dump your switches here, weren't you? Instead, please 1389 // You were going to just dump your switches here, weren't you? Instead, please
1403 // put them in alphabetical order above, or in order inside the appropriate 1390 // put them in alphabetical order above, or in order inside the appropriate
1404 // ifdef at the bottom. The order should match the header. 1391 // ifdef at the bottom. The order should match the header.
1405 // ----------------------------------------------------------------------------- 1392 // -----------------------------------------------------------------------------
1406 1393
1407 } // namespace switches 1394 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698