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

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: Add a helper method to UserScript to get the appropriate valid schemes 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
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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 // Enables logging for extension activity. 498 // Enables logging for extension activity.
499 const char kEnableExtensionActivityLogging[] = 499 const char kEnableExtensionActivityLogging[] =
500 "enable-extension-activity-logging"; 500 "enable-extension-activity-logging";
501 501
502 // Enables the extension activity UI. 502 // Enables the extension activity UI.
503 const char kEnableExtensionActivityUI[] = "enable-extension-activity-ui"; 503 const char kEnableExtensionActivityUI[] = "enable-extension-activity-ui";
504 504
505 // Enables or disables showing extensions in the action box. 505 // Enables or disables showing extensions in the action box.
506 const char kExtensionsInActionBox[] = "extensions-in-action-box"; 506 const char kExtensionsInActionBox[] = "extensions-in-action-box";
507 507
508 // Enables or disables running extensions on chrome:// URLs.
509 // Extensions still need to explicitly request access to chrome:// URLs in the
510 // manifest.
511 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls";
512
508 // By default, cookies are not allowed on file://. They are needed for testing, 513 // By default, cookies are not allowed on file://. They are needed for testing,
509 // for example page cycler and layout tests. See bug 1157243. 514 // for example page cycler and layout tests. See bug 1157243.
510 const char kEnableFileCookies[] = "enable-file-cookies"; 515 const char kEnableFileCookies[] = "enable-file-cookies";
511 516
512 // Enables Google Now integration. 517 // Enables Google Now integration.
513 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; 518 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration";
514 519
515 // Enable Instant extended API. 520 // Enable Instant extended API.
516 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; 521 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api";
517 522
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1681 1686
1682 // ----------------------------------------------------------------------------- 1687 // -----------------------------------------------------------------------------
1683 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1688 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1684 // 1689 //
1685 // You were going to just dump your switches here, weren't you? Instead, please 1690 // You were going to just dump your switches here, weren't you? Instead, please
1686 // put them in alphabetical order above, or in order inside the appropriate 1691 // put them in alphabetical order above, or in order inside the appropriate
1687 // ifdef at the bottom. The order should match the header. 1692 // ifdef at the bottom. The order should match the header.
1688 // ----------------------------------------------------------------------------- 1693 // -----------------------------------------------------------------------------
1689 1694
1690 } // namespace switches 1695 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698