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

Side by Side Diff: sandbox/win/src/sharedmem_ipc_server.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/sharedmem_ipc_client.cc ('k') | sandbox/win/src/sharedmem_ipc_server.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) 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 SANDBOX_SRC_SHAREDMEM_IPC_SERVER_H_ 5 #ifndef SANDBOX_SRC_SHAREDMEM_IPC_SERVER_H_
6 #define SANDBOX_SRC_SHAREDMEM_IPC_SERVER_H_ 6 #define SANDBOX_SRC_SHAREDMEM_IPC_SERVER_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "sandbox/src/crosscall_params.h" 12 #include "sandbox/win/src/crosscall_params.h"
13 #include "sandbox/src/crosscall_server.h" 13 #include "sandbox/win/src/crosscall_server.h"
14 #include "sandbox/src/sharedmem_ipc_client.h" 14 #include "sandbox/win/src/sharedmem_ipc_client.h"
15 15
16 // IPC transport implementation that uses shared memory. 16 // IPC transport implementation that uses shared memory.
17 // This is the server side 17 // This is the server side
18 // 18 //
19 // The server side has knowledge about the layout of the shared memory 19 // The server side has knowledge about the layout of the shared memory
20 // and the state transitions. Both are explained in sharedmem_ipc_client.h 20 // and the state transitions. Both are explained in sharedmem_ipc_client.h
21 // 21 //
22 // As opposed to SharedMemIPClient, the Server object should be one for the 22 // As opposed to SharedMemIPClient, the Server object should be one for the
23 // entire lifetime of the target process. The server is in charge of creating 23 // entire lifetime of the target process. The server is in charge of creating
24 // the events (ping, pong) both for the client and for the target that are used 24 // the events (ping, pong) both for the client and for the target that are used
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 // The dispatcher handles 'ready' IPC calls. 119 // The dispatcher handles 'ready' IPC calls.
120 Dispatcher* call_dispatcher_; 120 Dispatcher* call_dispatcher_;
121 121
122 DISALLOW_COPY_AND_ASSIGN(SharedMemIPCServer); 122 DISALLOW_COPY_AND_ASSIGN(SharedMemIPCServer);
123 }; 123 };
124 124
125 } // namespace sandbox 125 } // namespace sandbox
126 126
127 #endif // SANDBOX_SRC_SHAREDMEM_IPC_SERVER_H_ 127 #endif // SANDBOX_SRC_SHAREDMEM_IPC_SERVER_H_
OLDNEW
« no previous file with comments | « sandbox/win/src/sharedmem_ipc_client.cc ('k') | sandbox/win/src/sharedmem_ipc_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698