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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 1415483008: Get rid of SandboxedProcessLauncherDelegate::PreSandbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove curly braces Created 5 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
Index: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index 8f92ff3fabacd152d8a9531ad524f1f139266dd2..599e8f3e9bfd4edc613418bed130cdf8bfa5f490 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -387,6 +387,10 @@ const wchar_t* ContentBrowserClient::GetResourceDllName() {
return nullptr;
}
+bool ContentBrowserClient::PreSpawnRenderer(sandbox::TargetPolicy* policy) {
+ return true;
+}
+
base::string16 ContentBrowserClient::GetAppContainerSidForSandboxType(
int sandbox_type) const {
// Embedders should override this method and return different SIDs for each
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/common/sandboxed_process_launcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698