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

Side by Side Diff: sandbox/win/src/named_pipe_policy.h

Issue 10689170: Move the Windows sandbox to sandbox/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on top of tree (properly this time) Created 8 years, 5 months 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
« no previous file with comments | « sandbox/win/src/named_pipe_interception.cc ('k') | sandbox/win/src/named_pipe_policy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 SANDBOX_SRC_NAMED_PIPE_POLICY_H__ 5 #ifndef SANDBOX_SRC_NAMED_PIPE_POLICY_H__
6 #define SANDBOX_SRC_NAMED_PIPE_POLICY_H__ 6 #define SANDBOX_SRC_NAMED_PIPE_POLICY_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "sandbox/src/crosscall_server.h" 11 #include "sandbox/win/src/crosscall_server.h"
12 #include "sandbox/src/policy_low_level.h" 12 #include "sandbox/win/src/policy_low_level.h"
13 #include "sandbox/src/sandbox_policy.h" 13 #include "sandbox/win/src/sandbox_policy.h"
14 14
15 namespace sandbox { 15 namespace sandbox {
16 16
17 enum EvalResult; 17 enum EvalResult;
18 18
19 // This class centralizes most of the knowledge related to named pipe creation. 19 // This class centralizes most of the knowledge related to named pipe creation.
20 class NamedPipePolicy { 20 class NamedPipePolicy {
21 public: 21 public:
22 // Creates the required low-level policy rules to evaluate a high-level. 22 // Creates the required low-level policy rules to evaluate a high-level.
23 // policy rule for named pipe creation 23 // policy rule for named pipe creation
(...skipping 12 matching lines...) Expand all
36 DWORD max_instances, 36 DWORD max_instances,
37 DWORD out_buffer_size, 37 DWORD out_buffer_size,
38 DWORD in_buffer_size, 38 DWORD in_buffer_size,
39 DWORD default_timeout, HANDLE* pipe); 39 DWORD default_timeout, HANDLE* pipe);
40 }; 40 };
41 41
42 } // namespace sandbox 42 } // namespace sandbox
43 43
44 44
45 #endif // SANDBOX_SRC_NAMED_PIPE_POLICY_H__ 45 #endif // SANDBOX_SRC_NAMED_PIPE_POLICY_H__
OLDNEW
« no previous file with comments | « sandbox/win/src/named_pipe_interception.cc ('k') | sandbox/win/src/named_pipe_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698