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

Side by Side Diff: ppapi/proxy/resource_message_params.h

Issue 11894003: PPAPI/NaCl: Move handle extraction code to ppapi/proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years, 11 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 | « ppapi/proxy/ppb_image_data_proxy.h ('k') | ppapi/proxy/serialized_handle.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) 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 PPAPI_PROXY_RESOURCE_MESSAGE_PARAMS_H_ 5 #ifndef PPAPI_PROXY_RESOURCE_MESSAGE_PARAMS_H_
6 #define PPAPI_PROXY_RESOURCE_MESSAGE_PARAMS_H_ 6 #define PPAPI_PROXY_RESOURCE_MESSAGE_PARAMS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "ipc/ipc_message_utils.h" 11 #include "ipc/ipc_message_utils.h"
12 #include "ppapi/c/pp_resource.h" 12 #include "ppapi/c/pp_resource.h"
13 #include "ppapi/proxy/ppapi_proxy_export.h" 13 #include "ppapi/proxy/ppapi_proxy_export.h"
14 #include "ppapi/proxy/serialized_structs.h" 14 #include "ppapi/proxy/serialized_handle.h"
15 15
16 namespace ppapi { 16 namespace ppapi {
17 namespace proxy { 17 namespace proxy {
18 18
19 // Common parameters for resource call and reply params structures below. 19 // Common parameters for resource call and reply params structures below.
20 class PPAPI_PROXY_EXPORT ResourceMessageParams { 20 class PPAPI_PROXY_EXPORT ResourceMessageParams {
21 public: 21 public:
22 virtual ~ResourceMessageParams(); 22 virtual ~ResourceMessageParams();
23 23
24 PP_Resource pp_resource() const { return pp_resource_; } 24 PP_Resource pp_resource() const { return pp_resource_; }
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 static bool Read(const Message* m, PickleIterator* iter, param_type* r) { 202 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
203 return r->Deserialize(m, iter); 203 return r->Deserialize(m, iter);
204 } 204 }
205 static void Log(const param_type& p, std::string* l) { 205 static void Log(const param_type& p, std::string* l) {
206 } 206 }
207 }; 207 };
208 208
209 } // namespace IPC 209 } // namespace IPC
210 210
211 #endif // PPAPI_PROXY_RESOURCE_MESSAGE_PARAMS_H_ 211 #endif // PPAPI_PROXY_RESOURCE_MESSAGE_PARAMS_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.h ('k') | ppapi/proxy/serialized_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698