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

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

Issue 41193002: Attempt3 at landing this. The previous attempt failed on Windows XP because the \Sessions\Session i… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sandbox/win/src/sync_interception.cc ('k') | sandbox/win/src/sync_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_SYNC_POLICY_H__ 5 #ifndef SANDBOX_SRC_SYNC_POLICY_H__
6 #define SANDBOX_SRC_SYNC_POLICY_H__ 6 #define SANDBOX_SRC_SYNC_POLICY_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 17 matching lines...) Expand all
28 static bool GenerateRules(const wchar_t* name, 28 static bool GenerateRules(const wchar_t* name,
29 TargetPolicy::Semantics semantics, 29 TargetPolicy::Semantics semantics,
30 LowLevelPolicy* policy); 30 LowLevelPolicy* policy);
31 31
32 // Performs the desired policy action on a request. 32 // Performs the desired policy action on a request.
33 // client_info is the target process that is making the request and 33 // client_info is the target process that is making the request and
34 // eval_result is the desired policy action to accomplish. 34 // eval_result is the desired policy action to accomplish.
35 static DWORD CreateEventAction(EvalResult eval_result, 35 static DWORD CreateEventAction(EvalResult eval_result,
36 const ClientInfo& client_info, 36 const ClientInfo& client_info,
37 const std::wstring &event_name, 37 const std::wstring &event_name,
38 uint32 manual_reset, 38 uint32 event_type,
39 uint32 initial_state, 39 uint32 initial_state,
40 HANDLE *handle); 40 HANDLE *handle);
41 static DWORD OpenEventAction(EvalResult eval_result, 41 static DWORD OpenEventAction(EvalResult eval_result,
42 const ClientInfo& client_info, 42 const ClientInfo& client_info,
43 const std::wstring &event_name, 43 const std::wstring &event_name,
44 uint32 desired_access, 44 uint32 desired_access,
45 uint32 inherit_handle,
46 HANDLE *handle); 45 HANDLE *handle);
47 }; 46 };
48 47
49 } // namespace sandbox 48 } // namespace sandbox
50 49
51 #endif // SANDBOX_SRC_SYNC_POLICY_H__ 50 #endif // SANDBOX_SRC_SYNC_POLICY_H__
OLDNEW
« no previous file with comments | « sandbox/win/src/sync_interception.cc ('k') | sandbox/win/src/sync_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698