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

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

Issue 3040034: Block non-sandboxed plugins. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: fix indentation; sync Created 10 years, 4 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/common/render_messages_internal.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Whether to display the "Debug" link for app launch behavior. 57 // Whether to display the "Debug" link for app launch behavior.
58 const char kAppsDebug[] = "apps-debug"; 58 const char kAppsDebug[] = "apps-debug";
59 59
60 // Authentication white list for servers 60 // Authentication white list for servers
61 const char kAuthServerWhitelist[] = "auth-server-whitelist"; 61 const char kAuthServerWhitelist[] = "auth-server-whitelist";
62 62
63 // The value of this switch tells the app to listen for and broadcast 63 // The value of this switch tells the app to listen for and broadcast
64 // automation-related messages on IPC channel with the given ID. 64 // automation-related messages on IPC channel with the given ID.
65 const char kAutomationClientChannelID[] = "automation-channel"; 65 const char kAutomationClientChannelID[] = "automation-channel";
66 66
67 // Block non-sandboxed plugins.
68 const char kBlockNonSandboxedPlugins[] = "block-nonsandboxed-plugins";
69
67 // Causes the browser process to throw an assertion on startup. 70 // Causes the browser process to throw an assertion on startup.
68 const char kBrowserAssertTest[] = "assert-test"; 71 const char kBrowserAssertTest[] = "assert-test";
69 72
70 // Causes the browser process to crash on startup. 73 // Causes the browser process to crash on startup.
71 const char kBrowserCrashTest[] = "crash-test"; 74 const char kBrowserCrashTest[] = "crash-test";
72 75
73 // Path to the exe to run for the renderer and plugin subprocesses. 76 // Path to the exe to run for the renderer and plugin subprocesses.
74 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; 77 const char kBrowserSubprocessPath[] = "browser-subprocess-path";
75 78
76 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run 79 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after
1140 1143
1141 // ----------------------------------------------------------------------------- 1144 // -----------------------------------------------------------------------------
1142 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1145 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1143 // 1146 //
1144 // You were going to just dump your switches here, weren't you? Instead, 1147 // You were going to just dump your switches here, weren't you? Instead,
1145 // please put them in alphabetical order above, or in order inside the 1148 // please put them in alphabetical order above, or in order inside the
1146 // appropriate ifdef at the bottom. The order should match the header. 1149 // appropriate ifdef at the bottom. The order should match the header.
1147 // ----------------------------------------------------------------------------- 1150 // -----------------------------------------------------------------------------
1148 1151
1149 } // namespace switches 1152 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698