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

Unified Diff: chrome/plugin/plugin_main.cc

Issue 5174003: Revert 66022 - Enable sandboxed flash on windows by default.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/587/src/
Patch Set: Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/sandbox_policy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/plugin_main.cc
===================================================================
--- chrome/plugin/plugin_main.cc (revision 66478)
+++ chrome/plugin/plugin_main.cc (working copy)
@@ -109,8 +109,8 @@
<< parsed_command_line.command_line_string();
HMODULE sandbox_test_module = NULL;
- bool no_sandbox = parsed_command_line.HasSwitch(switches::kNoSandbox);
-
+ bool no_sandbox = parsed_command_line.HasSwitch(switches::kNoSandbox) ||
+ !parsed_command_line.HasSwitch(switches::kSafePlugins);
if (target_services && !no_sandbox) {
// The command line might specify a test plugin to load.
if (parsed_command_line.HasSwitch(switches::kTestSandbox)) {
« no previous file with comments | « chrome/common/sandbox_policy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698