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

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

Issue 13923007: Remove --allow-request-os-file-handle option (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unnecessary #include Created 7 years, 8 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/chrome_content_renderer_client.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 26 matching lines...) Expand all
37 const char kAllowLegacyExtensionManifests[] = 37 const char kAllowLegacyExtensionManifests[] =
38 "allow-legacy-extension-manifests"; 38 "allow-legacy-extension-manifests";
39 39
40 // Specifies comma-separated list of extension ids or hosts to grant 40 // Specifies comma-separated list of extension ids or hosts to grant
41 // access to TCP/UDP socket APIs. 41 // access to TCP/UDP socket APIs.
42 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; 42 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api";
43 43
44 // Don't block outdated plugins. 44 // Don't block outdated plugins.
45 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; 45 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins";
46 46
47 // Specifies command-separated list of extension ids or hosts to grant
48 // access to RequestOSFileHandle private API.
49 const char kAllowRequestOSFileHandleAPI[] =
50 "allow-request-os-file-handle-api";
51
52 // By default, an https page cannot run JavaScript, CSS or plug-ins from http 47 // By default, an https page cannot run JavaScript, CSS or plug-ins from http
53 // URLs. This provides an override to get the old insecure behavior. 48 // URLs. This provides an override to get the old insecure behavior.
54 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; 49 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content";
55 50
56 // Allows injecting extensions and user scripts on the extensions gallery 51 // Allows injecting extensions and user scripts on the extensions gallery
57 // site. Normally prevented for security reasons, but can be useful for 52 // site. Normally prevented for security reasons, but can be useful for
58 // automation testing of the gallery. 53 // automation testing of the gallery.
59 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; 54 const char kAllowScriptingGallery[] = "allow-scripting-gallery";
60 55
61 // Prevents Chrome from requiring authorization to run certain widely installed 56 // Prevents Chrome from requiring authorization to run certain widely installed
(...skipping 1631 matching lines...) Expand 10 before | Expand all | Expand 10 after
1693 1688
1694 // ----------------------------------------------------------------------------- 1689 // -----------------------------------------------------------------------------
1695 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1690 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1696 // 1691 //
1697 // You were going to just dump your switches here, weren't you? Instead, please 1692 // You were going to just dump your switches here, weren't you? Instead, please
1698 // put them in alphabetical order above, or in order inside the appropriate 1693 // put them in alphabetical order above, or in order inside the appropriate
1699 // ifdef at the bottom. The order should match the header. 1694 // ifdef at the bottom. The order should match the header.
1700 // ----------------------------------------------------------------------------- 1695 // -----------------------------------------------------------------------------
1701 1696
1702 } // namespace switches 1697 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/chrome_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698