OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 PPAPI_PROXY_SERIALIZED_HANDLES_H_ | 5 #ifndef PPAPI_PROXY_SERIALIZED_HANDLES_H_ |
6 #define PPAPI_PROXY_SERIALIZED_HANDLES_H_ | 6 #define PPAPI_PROXY_SERIALIZED_HANDLES_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
15 #include "ipc/ipc_platform_file.h" | 15 #include "ipc/ipc_platform_file.h" |
16 #include "ppapi/proxy/ppapi_proxy_export.h" | 16 #include "ppapi/proxy/ppapi_proxy_export.h" |
17 | 17 |
18 class Pickle; | 18 class Pickle; |
19 | 19 |
20 namespace ppapi { | 20 namespace ppapi { |
21 namespace proxy { | 21 namespace proxy { |
22 | 22 |
23 // SerializedHandle is a unified structure for holding a handle (e.g., a shared | 23 // SerializedHandle is a unified structure for holding a handle (e.g., a shared |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 IPC::PlatformFileForTransit descriptor_; | 141 IPC::PlatformFileForTransit descriptor_; |
142 | 142 |
143 // This is valid if type == FILE. | 143 // This is valid if type == FILE. |
144 int32 open_flag_; | 144 int32 open_flag_; |
145 }; | 145 }; |
146 | 146 |
147 } // namespace proxy | 147 } // namespace proxy |
148 } // namespace ppapi | 148 } // namespace ppapi |
149 | 149 |
150 #endif // PPAPI_PROXY_SERIALIZED_HANDLES_H_ | 150 #endif // PPAPI_PROXY_SERIALIZED_HANDLES_H_ |
OLD | NEW |