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

Unified Diff: content/common/sandbox_policy.cc

Issue 7084010: Move sandbox_policy to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
Index: content/common/sandbox_policy.cc
===================================================================
--- content/common/sandbox_policy.cc (revision 87093)
+++ content/common/sandbox_policy.cc (working copy)
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/common/sandbox_policy.h"
+#include "content/common/sandbox_policy.h"
#include <string>
@@ -16,7 +16,7 @@
#include "base/stringprintf.h"
#include "base/string_util.h"
#include "base/win/windows_version.h"
-#include "content/browser/content_browser_client.h"
+#include "content/common/content_client.h"
#include "content/common/content_switches.h"
#include "content/common/child_process_info.h"
#include "content/common/debug_flags.h"
@@ -394,7 +394,7 @@
if (type == ChildProcessInfo::PLUGIN_PROCESS &&
!browser_command_line.HasSwitch(switches::kNoSandbox) &&
- content::GetContentClient()->browser()->SandboxPlugin(cmd_line, policy)) {
+ content::GetContentClient()->SandboxPlugin(cmd_line, policy)) {
in_sandbox = true;
AddDllEvictionPolicy(policy);
}

Powered by Google App Engine
This is Rietveld 408576698