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

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

Issue 10387167: Revert 137540 - Disable off-store extension installs by default. Also get rid of ExtensionService::… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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') | chrome/common/extensions/extension_constants.h » ('j') | 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 // is needed for a domain which shares an IP with an existing connection, 329 // is needed for a domain which shares an IP with an existing connection,
330 // attempt to use the existing connection. 330 // attempt to use the existing connection.
331 const char kDisableIPPooling[] = "disable-ip-pooling"; 331 const char kDisableIPPooling[] = "disable-ip-pooling";
332 332
333 // Avoid doing expensive animations upon login. 333 // Avoid doing expensive animations upon login.
334 const char kDisableLoginAnimations[] = "disable-login-animations"; 334 const char kDisableLoginAnimations[] = "disable-login-animations";
335 335
336 // Disables the menu on the NTP for accessing sessions from other devices. 336 // Disables the menu on the NTP for accessing sessions from other devices.
337 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; 337 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu";
338 338
339 // Disables the inline off-store extension installation UI. With this switch,
340 // users must use a new out-of-band installation UI from chrome://extensions/.
341 const char kDisableOffStoreExtensionInstall[] =
342 "disable-off-store-extension-install";
343
339 // Disable speculative TCP/IP preconnection. 344 // Disable speculative TCP/IP preconnection.
340 const char kDisablePreconnect[] = "disable-preconnect"; 345 const char kDisablePreconnect[] = "disable-preconnect";
341 346
342 // Normally when the user attempts to navigate to a page that was the result of 347 // Normally when the user attempts to navigate to a page that was the result of
343 // a post we prompt to make sure they want to. This switch may be used to 348 // a post we prompt to make sure they want to. This switch may be used to
344 // disable that check. This switch is used during automated testing. 349 // disable that check. This switch is used during automated testing.
345 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 350 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
346 351
347 // Prevents the URLs of BackgroundContents from being remembered and 352 // Prevents the URLs of BackgroundContents from being remembered and
348 // re-launched when the browser restarts. 353 // re-launched when the browser restarts.
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 // Enables hardware exception handling via debugger process. 561 // Enables hardware exception handling via debugger process.
557 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling"; 562 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling";
558 563
559 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY. 564 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY.
560 const char kEnableNpn[] = "enable-npn"; 565 const char kEnableNpn[] = "enable-npn";
561 566
562 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. 567 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used.
563 // HTTP is still used for all requests. 568 // HTTP is still used for all requests.
564 const char kEnableNpnHttpOnly[] = "enable-npn-http"; 569 const char kEnableNpnHttpOnly[] = "enable-npn-http";
565 570
566 // Enables extensions to be easily installed from sites other than the web
567 // store. Without this flag, they can still be installed, but must be manually
568 // dragged onto chrome://extensions/.
569 const char kEnableOffStoreExtensionInstall[] =
570 "enable-off-store-extension-install";
571
572 // Enables panels (always on-top docked pop-up windows). 571 // Enables panels (always on-top docked pop-up windows).
573 const char kEnablePanels[] = "enable-panels"; 572 const char kEnablePanels[] = "enable-panels";
574 573
575 // Enables password generation when we detect that the user is going through 574 // Enables password generation when we detect that the user is going through
576 // account creation. 575 // account creation.
577 const char kEnablePasswordGeneration[] = "enable-password-generation"; 576 const char kEnablePasswordGeneration[] = "enable-password-generation";
578 577
579 // Enables advanced app capabilities. 578 // Enables advanced app capabilities.
580 const char kEnablePlatformApps[] = "enable-platform-apps"; 579 const char kEnablePlatformApps[] = "enable-platform-apps";
581 580
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after
1450 1449
1451 // ----------------------------------------------------------------------------- 1450 // -----------------------------------------------------------------------------
1452 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1451 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1453 // 1452 //
1454 // You were going to just dump your switches here, weren't you? Instead, please 1453 // You were going to just dump your switches here, weren't you? Instead, please
1455 // put them in alphabetical order above, or in order inside the appropriate 1454 // put them in alphabetical order above, or in order inside the appropriate
1456 // ifdef at the bottom. The order should match the header. 1455 // ifdef at the bottom. The order should match the header.
1457 // ----------------------------------------------------------------------------- 1456 // -----------------------------------------------------------------------------
1458 1457
1459 } // namespace switches 1458 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/extensions/extension_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698