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

Side by Side Diff: command_buffer/common/cross/rpc_fake.h

Issue 200127: Made gyp file for command buffer libraries.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 3 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 | « command_buffer/common/cross/rpc.h ('k') | command_buffer/common/cross/rpc_fake.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 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 22 matching lines...) Expand all
33 // This file defines classes faking the NativeClient RPC mechanism. This is 33 // This file defines classes faking the NativeClient RPC mechanism. This is
34 // intended as a temporary replacement of NativeClient until it is ready. It 34 // intended as a temporary replacement of NativeClient until it is ready. It
35 // assumes the various clients and services run in separate threads of the same 35 // assumes the various clients and services run in separate threads of the same
36 // process. 36 // process.
37 37
38 #ifndef O3D_COMMAND_BUFFER_COMMON_CROSS_RPC_FAKE_H_ 38 #ifndef O3D_COMMAND_BUFFER_COMMON_CROSS_RPC_FAKE_H_
39 #define O3D_COMMAND_BUFFER_COMMON_CROSS_RPC_FAKE_H_ 39 #define O3D_COMMAND_BUFFER_COMMON_CROSS_RPC_FAKE_H_
40 40
41 #include <windows.h> 41 #include <windows.h>
42 #include <queue> 42 #include <queue>
43 #include "base/scoped_ptr.h"
43 #include "core/cross/types.h" 44 #include "core/cross/types.h"
44 #include "command_buffer/common/cross/rpc.h" 45 #include "command_buffer/common/cross/rpc.h"
45 46
46 namespace o3d { 47 namespace o3d {
47 namespace command_buffer { 48 namespace command_buffer {
48 49
49 typedef CRITICAL_SECTION Mutex; 50 typedef CRITICAL_SECTION Mutex;
50 typedef HANDLE Event; 51 typedef HANDLE Event;
51 52
52 // Struct describing a RPC message, as a message ID and a data payload. 53 // Struct describing a RPC message, as a message ID and a data payload.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 RPCQueue out_queue_; 197 RPCQueue out_queue_;
197 scoped_ptr<Sender> sender_; 198 scoped_ptr<Sender> sender_;
198 scoped_ptr<Processor> processor_; 199 scoped_ptr<Processor> processor_;
199 DISALLOW_COPY_AND_ASSIGN(RPCServer); 200 DISALLOW_COPY_AND_ASSIGN(RPCServer);
200 }; 201 };
201 202
202 } // namespace command_buffer 203 } // namespace command_buffer
203 } // namespace o3d 204 } // namespace o3d
204 205
205 #endif // O3D_COMMAND_BUFFER_COMMON_CROSS_RPC_FAKE_H_ 206 #endif // O3D_COMMAND_BUFFER_COMMON_CROSS_RPC_FAKE_H_
OLDNEW
« no previous file with comments | « command_buffer/common/cross/rpc.h ('k') | command_buffer/common/cross/rpc_fake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698