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

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

Issue 12792005: Allow extensions on chrome:// URLs, when flag is set and permission is explicitly requested (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reinstate original pickle order; add scripts clause to content_script_chrome_url_invalid.json to av… Created 7 years, 9 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/api/extension_api.cc » ('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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 493
494 const char kEnableExtensionActivityLogTesting[] = 494 const char kEnableExtensionActivityLogTesting[] =
495 "enable-extension-activity-log-testing"; 495 "enable-extension-activity-log-testing";
496 496
497 // Enables the extension activity UI. 497 // Enables the extension activity UI.
498 const char kEnableExtensionActivityUI[] = "enable-extension-activity-ui"; 498 const char kEnableExtensionActivityUI[] = "enable-extension-activity-ui";
499 499
500 // Enables or disables showing extensions in the action box. 500 // Enables or disables showing extensions in the action box.
501 const char kExtensionsInActionBox[] = "extensions-in-action-box"; 501 const char kExtensionsInActionBox[] = "extensions-in-action-box";
502 502
503 // Enables or disables running extensions on chrome:// URLs.
504 // Extensions still need to explicitly request access to chrome:// URLs in the
505 // manifest.
506 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls";
507
503 // By default, cookies are not allowed on file://. They are needed for testing, 508 // By default, cookies are not allowed on file://. They are needed for testing,
504 // for example page cycler and layout tests. See bug 1157243. 509 // for example page cycler and layout tests. See bug 1157243.
505 const char kEnableFileCookies[] = "enable-file-cookies"; 510 const char kEnableFileCookies[] = "enable-file-cookies";
506 511
507 // Enables Google Now integration. 512 // Enables Google Now integration.
508 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; 513 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration";
509 514
510 // Enable Instant extended API. On mobile, this merely enables query extraction, 515 // Enable Instant extended API. On mobile, this merely enables query extraction,
511 // not the rest of the instant-extended functionality. 516 // not the rest of the instant-extended functionality.
512 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; 517 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api";
(...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after
1671 1676
1672 // ----------------------------------------------------------------------------- 1677 // -----------------------------------------------------------------------------
1673 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1678 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1674 // 1679 //
1675 // You were going to just dump your switches here, weren't you? Instead, please 1680 // You were going to just dump your switches here, weren't you? Instead, please
1676 // put them in alphabetical order above, or in order inside the appropriate 1681 // put them in alphabetical order above, or in order inside the appropriate
1677 // ifdef at the bottom. The order should match the header. 1682 // ifdef at the bottom. The order should match the header.
1678 // ----------------------------------------------------------------------------- 1683 // -----------------------------------------------------------------------------
1679 1684
1680 } // namespace switches 1685 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/extensions/api/extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698