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

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

Issue 8804006: Reland 8688002: PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to Browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix destruction issue Created 9 years 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/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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 16 matching lines...) Expand all
27 const char kAllowFileAccess[] = "allow-file-access"; 27 const char kAllowFileAccess[] = "allow-file-access";
28 28
29 // Allows non-https URL for background_page for hosted apps. 29 // Allows non-https URL for background_page for hosted apps.
30 const char kAllowHTTPBackgroundPage[] = "allow-http-background-page"; 30 const char kAllowHTTPBackgroundPage[] = "allow-http-background-page";
31 31
32 // Allows the browser to load extensions that lack a modern manifest when that 32 // Allows the browser to load extensions that lack a modern manifest when that
33 // would otherwise be forbidden. 33 // would otherwise be forbidden.
34 const char kAllowLegacyExtensionManifests[] 34 const char kAllowLegacyExtensionManifests[]
35 = "allow-legacy-extension-manifests"; 35 = "allow-legacy-extension-manifests";
36 36
37 // Specifies comma-separated list of extension ids to grant access to TCP/UDP
38 // socket APIs.
39 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api";
40
37 // Don't block outdated plugins. 41 // Don't block outdated plugins.
38 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; 42 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins";
39 43
40 // By default, an https page cannot run JavaScript, CSS or plug-ins from http 44 // By default, an https page cannot run JavaScript, CSS or plug-ins from http
41 // URLs. This provides an override to get the old insecure behavior. 45 // URLs. This provides an override to get the old insecure behavior.
42 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; 46 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content";
43 47
44 // Allows injecting extensions and user scripts on the extensions gallery 48 // Allows injecting extensions and user scripts on the extensions gallery
45 // site. Normally prevented for security reasons, but can be useful for 49 // site. Normally prevented for security reasons, but can be useful for
46 // automation testing of the gallery. 50 // automation testing of the gallery.
(...skipping 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 1303
1300 // ----------------------------------------------------------------------------- 1304 // -----------------------------------------------------------------------------
1301 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1305 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1302 // 1306 //
1303 // You were going to just dump your switches here, weren't you? Instead, please 1307 // You were going to just dump your switches here, weren't you? Instead, please
1304 // put them in alphabetical order above, or in order inside the appropriate 1308 // put them in alphabetical order above, or in order inside the appropriate
1305 // ifdef at the bottom. The order should match the header. 1309 // ifdef at the bottom. The order should match the header.
1306 // ----------------------------------------------------------------------------- 1310 // -----------------------------------------------------------------------------
1307 1311
1308 } // namespace switches 1312 } // 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