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

Unified Diff: content/public/browser/utility_process_host.h

Issue 98603007: Launches a privileged utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually works now. Removes unnecessary logging. Created 7 years 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/utility_process_host.h
diff --git a/content/public/browser/utility_process_host.h b/content/public/browser/utility_process_host.h
index 2cff030e1f788d2a893c491ce177b97a4280824c..16f51c2971088648d81bec7ae2448c8af03373b7 100644
--- a/content/public/browser/utility_process_host.h
+++ b/content/public/browser/utility_process_host.h
@@ -61,6 +61,9 @@ class UtilityProcessHost : public IPC::Sender,
// Make the process run without a sandbox.
virtual void DisableSandbox() = 0;
+ // Make the process run elevated.
+ virtual void ElevatePrivileges() = 0;
+
// If the sandbox is being used and we are on Linux, launch the process from
// the zygote. Can only be used for tasks that do not require FS access.
virtual void EnableZygote() = 0;

Powered by Google App Engine
This is Rietveld 408576698