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

Side by Side Diff: sandbox/src/ipc_tags.h

Issue 9924010: Revert 129627 - Add a sandbox API for broker handle duplication (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/src/handle_policy_test.cc ('k') | sandbox/src/sandbox.h » ('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) 2012 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_IPC_TAGS_H__ 5 #ifndef SANDBOX_SRC_IPC_TAGS_H__
6 #define SANDBOX_SRC_IPC_TAGS_H__ 6 #define SANDBOX_SRC_IPC_TAGS_H__
7 7
8 namespace sandbox { 8 namespace sandbox {
9 9
10 enum { 10 enum {
11 IPC_UNUSED_TAG = 0, 11 IPC_UNUSED_TAG = 0,
12 IPC_PING1_TAG, // Takes a cookie in parameters and returns the cookie 12 IPC_PING1_TAG, // Takes a cookie in parameters and returns the cookie
13 // multiplied by 2 and the tick_count. Used for testing only. 13 // multiplied by 2 and the tick_count. Used for testing only.
14 IPC_PING2_TAG, // Takes an in/out cookie in parameters and modify the cookie 14 IPC_PING2_TAG, // Takes an in/out cookie in parameters and modify the cookie
15 // to be multiplied by 3. Used for testing only. 15 // to be multiplied by 3. Used for testing only.
16 IPC_NTCREATEFILE_TAG, 16 IPC_NTCREATEFILE_TAG,
17 IPC_NTOPENFILE_TAG, 17 IPC_NTOPENFILE_TAG,
18 IPC_NTQUERYATTRIBUTESFILE_TAG, 18 IPC_NTQUERYATTRIBUTESFILE_TAG,
19 IPC_NTQUERYFULLATTRIBUTESFILE_TAG, 19 IPC_NTQUERYFULLATTRIBUTESFILE_TAG,
20 IPC_NTSETINFO_RENAME_TAG, 20 IPC_NTSETINFO_RENAME_TAG,
21 IPC_CREATENAMEDPIPEW_TAG, 21 IPC_CREATENAMEDPIPEW_TAG,
22 IPC_NTOPENTHREAD_TAG, 22 IPC_NTOPENTHREAD_TAG,
23 IPC_NTOPENPROCESS_TAG, 23 IPC_NTOPENPROCESS_TAG,
24 IPC_NTOPENPROCESSTOKEN_TAG, 24 IPC_NTOPENPROCESSTOKEN_TAG,
25 IPC_NTOPENPROCESSTOKENEX_TAG, 25 IPC_NTOPENPROCESSTOKENEX_TAG,
26 IPC_CREATEPROCESSW_TAG, 26 IPC_CREATEPROCESSW_TAG,
27 IPC_CREATEEVENT_TAG, 27 IPC_CREATEEVENT_TAG,
28 IPC_OPENEVENT_TAG, 28 IPC_OPENEVENT_TAG,
29 IPC_NTCREATEKEY_TAG, 29 IPC_NTCREATEKEY_TAG,
30 IPC_NTOPENKEY_TAG, 30 IPC_NTOPENKEY_TAG,
31 IPC_DUPLICATEHANDLEPROXY_TAG,
32 IPC_LAST_TAG 31 IPC_LAST_TAG
33 }; 32 };
34 33
35 } // namespace sandbox 34 } // namespace sandbox
36 35
37 #endif // SANDBOX_SRC_IPC_TAGS_H__ 36 #endif // SANDBOX_SRC_IPC_TAGS_H__
OLDNEW
« no previous file with comments | « sandbox/src/handle_policy_test.cc ('k') | sandbox/src/sandbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698