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

Unified Diff: content/common/sandbox_linux/bpf_gpu_policy_linux.h

Issue 701443004: Linux sandbox: change the return type of HandleRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add blank line in header file. Created 6 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 | « no previous file | content/common/sandbox_linux/bpf_gpu_policy_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_linux/bpf_gpu_policy_linux.h
diff --git a/content/common/sandbox_linux/bpf_gpu_policy_linux.h b/content/common/sandbox_linux/bpf_gpu_policy_linux.h
index aae79c1381ed8d8d3b30cd795ec81f969f4e1464..3b60ffe66fbe16021c3a871f2888e941127ec7e7 100644
--- a/content/common/sandbox_linux/bpf_gpu_policy_linux.h
+++ b/content/common/sandbox_linux/bpf_gpu_policy_linux.h
@@ -12,8 +12,10 @@
#include "content/common/sandbox_linux/sandbox_bpf_base_policy_linux.h"
namespace sandbox {
+namespace syscall_broker {
class BrokerProcess;
}
+}
namespace content {
@@ -40,7 +42,9 @@ class GpuProcessPolicy : public SandboxBPFBasePolicy {
const std::vector<std::string>& read_whitelist_extra,
const std::vector<std::string>& write_whitelist_extra);
- sandbox::BrokerProcess* broker_process() { return broker_process_; }
+ sandbox::syscall_broker::BrokerProcess* broker_process() {
+ return broker_process_;
+ }
private:
// A BrokerProcess is a helper that is started before the sandbox is engaged
@@ -50,7 +54,7 @@ class GpuProcessPolicy : public SandboxBPFBasePolicy {
// vital to the process.
// This is allocated by InitGpuBrokerProcess, called from PreSandboxHook(),
// which executes iff the sandbox is going to be enabled afterwards.
- sandbox::BrokerProcess* broker_process_;
+ sandbox::syscall_broker::BrokerProcess* broker_process_;
// eglCreateWindowSurface() needs mincore().
bool allow_mincore_;
« no previous file with comments | « no previous file | content/common/sandbox_linux/bpf_gpu_policy_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698