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

Side by Side Diff: content/common/sandbox_linux/sandbox_seccomp_bpf_linux.h

Issue 99133015: Linux Sandbox: split the GPU policies to their own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't link extra files to NaCl. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_ 5 #ifndef CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_SECCOMP_BPF_LINUX_H_
6 #define CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_ 6 #define CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_SECCOMP_BPF_LINUX_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 12
13 namespace sandbox { 13 namespace sandbox {
14 class SandboxBPFPolicy; 14 class SandboxBPFPolicy;
15 } 15 }
16 16
(...skipping 25 matching lines...) Expand all
42 scoped_ptr<sandbox::SandboxBPFPolicy> policy); 42 scoped_ptr<sandbox::SandboxBPFPolicy> policy);
43 // The "baseline" policy can be a useful base to build a sandbox policy. 43 // The "baseline" policy can be a useful base to build a sandbox policy.
44 static scoped_ptr<sandbox::SandboxBPFPolicy> GetBaselinePolicy(); 44 static scoped_ptr<sandbox::SandboxBPFPolicy> GetBaselinePolicy();
45 45
46 private: 46 private:
47 DISALLOW_IMPLICIT_CONSTRUCTORS(SandboxSeccompBPF); 47 DISALLOW_IMPLICIT_CONSTRUCTORS(SandboxSeccompBPF);
48 }; 48 };
49 49
50 } // namespace content 50 } // namespace content
51 51
52 #endif // CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_ 52 #endif // CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_SECCOMP_BPF_LINUX_H_
53 53
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698