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

Unified Diff: content/browser/utility_process_host_impl.h

Issue 19737002: Enable sandbox in local discovery utility process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/browser/utility_process_host_impl.h
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index 779bc02d444223acd443a72fa6663c6333cf4797..45d2b3f77e86ea3fcb9aa5bbbf1da50215d0a9a6 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -37,6 +37,7 @@ class CONTENT_EXPORT UtilityProcessHostImpl
virtual bool StartBatchMode() OVERRIDE;
virtual void EndBatchMode() OVERRIDE;
virtual void SetExposedDir(const base::FilePath& dir) OVERRIDE;
+ virtual void EnableMDns() OVERRIDE;
virtual void DisableSandbox() OVERRIDE;
virtual void EnableZygote() OVERRIDE;
virtual const ChildProcessData& GetData() OVERRIDE;
@@ -64,6 +65,9 @@ class CONTENT_EXPORT UtilityProcessHostImpl
base::FilePath exposed_dir_;
+ // Whether utility process needs perform presandbox initialization for MDns.
+ bool is_mdns_enabled_;
+
// Whether to pass switches::kNoSandbox to the child.
bool no_sandbox_;

Powered by Google App Engine
This is Rietveld 408576698