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

Unified Diff: content/public/common/sandbox_init.h

Issue 101773003: Linux sandbox: cleanup sandbox-bpf naming. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename class Sandbox to class SandboxBPF 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/common/sandbox_init.h
diff --git a/content/public/common/sandbox_init.h b/content/public/common/sandbox_init.h
index 33a76c257cea2221ec20eb4ba8fdd4ff61629c79..7a239f5f1fd91f7d688fa3ab55c40c23c54c34a7 100644
--- a/content/public/common/sandbox_init.h
+++ b/content/public/common/sandbox_init.h
@@ -16,11 +16,8 @@ namespace base {
class FilePath;
}
-namespace playground2 {
-class SandboxBpfPolicy;
-}
-
namespace sandbox {
+class SandboxBpfPolicy;
struct SandboxInterfaceInfo;
}
@@ -90,11 +87,11 @@ class SandboxInitializerDelegate;
// Initialize a seccomp-bpf sandbox. |policy| may not be NULL.
// Returns true if the sandbox has been properly engaged.
CONTENT_EXPORT bool InitializeSandbox(
- scoped_ptr<playground2::SandboxBpfPolicy> policy);
+ scoped_ptr<sandbox::SandboxBpfPolicy> policy);
// Return a "baseline" policy. This is used by a SandboxInitializerDelegate to
// implement a policy that is derived from the baseline.
-CONTENT_EXPORT scoped_ptr<playground2::SandboxBpfPolicy>
+CONTENT_EXPORT scoped_ptr<sandbox::SandboxBpfPolicy>
GetBpfSandboxBaselinePolicy();
#endif // defined(OS_LINUX)

Powered by Google App Engine
This is Rietveld 408576698