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

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

Issue 15521002: Flag and whitelist to allow crxfs api in NaCl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ifdef Created 7 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
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 37
38 // Allow non-secure origins to use the screen capture API. 38 // Allow non-secure origins to use the screen capture API.
39 const char kAllowHttpScreenCapture[] = "allow-http-screen-capture"; 39 const char kAllowHttpScreenCapture[] = "allow-http-screen-capture";
40 40
41 // Allows the browser to load extensions that lack a modern manifest when that 41 // Allows the browser to load extensions that lack a modern manifest when that
42 // would otherwise be forbidden. 42 // would otherwise be forbidden.
43 const char kAllowLegacyExtensionManifests[] = 43 const char kAllowLegacyExtensionManifests[] =
44 "allow-legacy-extension-manifests"; 44 "allow-legacy-extension-manifests";
45 45
46 // Specifies comma-separated list of extension ids or hosts to grant 46 // Specifies comma-separated list of extension ids or hosts to grant
47 // access to CRX file system APIs.
48 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api";
49
50 // Specifies comma-separated list of extension ids or hosts to grant
47 // access to TCP/UDP socket APIs. 51 // access to TCP/UDP socket APIs.
48 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; 52 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api";
49 53
50 // Don't block outdated plugins. 54 // Don't block outdated plugins.
51 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; 55 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins";
52 56
53 // By default, an https page cannot run JavaScript, CSS or plug-ins from http 57 // By default, an https page cannot run JavaScript, CSS or plug-ins from http
54 // URLs. This provides an override to get the old insecure behavior. 58 // URLs. This provides an override to get the old insecure behavior.
55 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; 59 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content";
56 60
(...skipping 1528 matching lines...) Expand 10 before | Expand all | Expand 10 after
1585 1589
1586 // ----------------------------------------------------------------------------- 1590 // -----------------------------------------------------------------------------
1587 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1591 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1588 // 1592 //
1589 // You were going to just dump your switches here, weren't you? Instead, please 1593 // You were going to just dump your switches here, weren't you? Instead, please
1590 // put them in alphabetical order above, or in order inside the appropriate 1594 // put them in alphabetical order above, or in order inside the appropriate
1591 // ifdef at the bottom. The order should match the header. 1595 // ifdef at the bottom. The order should match the header.
1592 // ----------------------------------------------------------------------------- 1596 // -----------------------------------------------------------------------------
1593 1597
1594 } // namespace switches 1598 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698