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

Side by Side Diff: content/common/sandbox_linux/sandbox_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: Address nits from Mark. 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_LINUX_H_ 5 #ifndef CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_LINUX_H_
6 #define CONTENT_COMMON_SANDBOX_LINUX_H_ 6 #define CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_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 #include "content/public/common/sandbox_linux.h" 12 #include "content/public/common/sandbox_linux.h"
13 13
14 template <typename T> struct DefaultSingletonTraits; 14 template <typename T> struct DefaultSingletonTraits;
15 namespace sandbox { class SetuidSandboxClient; } 15 namespace sandbox { class SetuidSandboxClient; }
16 16
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 bool pre_initialized_; 97 bool pre_initialized_;
98 bool seccomp_bpf_supported_; // Accurate if pre_initialized_. 98 bool seccomp_bpf_supported_; // Accurate if pre_initialized_.
99 scoped_ptr<sandbox::SetuidSandboxClient> setuid_sandbox_client_; 99 scoped_ptr<sandbox::SetuidSandboxClient> setuid_sandbox_client_;
100 100
101 ~LinuxSandbox(); 101 ~LinuxSandbox();
102 DISALLOW_IMPLICIT_CONSTRUCTORS(LinuxSandbox); 102 DISALLOW_IMPLICIT_CONSTRUCTORS(LinuxSandbox);
103 }; 103 };
104 104
105 } // namespace content 105 } // namespace content
106 106
107 #endif // CONTENT_COMMON_SANDBOX_LINUX_H_ 107 #endif // CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_LINUX_H_
108
OLDNEW
« no previous file with comments | « content/common/sandbox_linux/sandbox_init_linux.cc ('k') | content/common/sandbox_linux/sandbox_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698