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

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

Issue 2539033005: ppapi: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration in content/renderer/pepper Created 4 years 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
« no previous file with comments | « ppapi/proxy/pdf_resource.h ('k') | ppapi/proxy/ppb_var_deprecated_proxy.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_PLUGIN_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_PLUGIN_RESOURCE_H_
6 #define PPAPI_PROXY_PLUGIN_RESOURCE_H_ 6 #define PPAPI_PROXY_PLUGIN_RESOURCE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "ipc/ipc_message.h" 15 #include "ipc/ipc_message.h"
16 #include "ipc/ipc_sender.h" 16 #include "ipc/ipc_sender.h"
17 #include "ppapi/c/pp_errors.h" 17 #include "ppapi/c/pp_errors.h"
18 #include "ppapi/proxy/connection.h" 18 #include "ppapi/proxy/connection.h"
19 #include "ppapi/proxy/plugin_resource_callback.h" 19 #include "ppapi/proxy/plugin_resource_callback.h"
20 #include "ppapi/proxy/ppapi_message_utils.h" 20 #include "ppapi/proxy/ppapi_message_utils.h"
21 #include "ppapi/proxy/ppapi_proxy_export.h" 21 #include "ppapi/proxy/ppapi_proxy_export.h"
22 #include "ppapi/proxy/resource_message_params.h" 22 #include "ppapi/proxy/resource_message_params.h"
23 #include "ppapi/proxy/resource_reply_thread_registrar.h" 23 #include "ppapi/proxy/resource_reply_thread_registrar.h"
24 #include "ppapi/shared_impl/resource.h" 24 #include "ppapi/shared_impl/resource.h"
25 #include "ppapi/shared_impl/tracked_callback.h" 25 #include "ppapi/shared_impl/tracked_callback.h"
26 namespace ppapi { 26 namespace ppapi {
27 namespace proxy { 27 namespace proxy {
28 28
29 class PluginDispatcher;
30
31 class PPAPI_PROXY_EXPORT PluginResource : public Resource { 29 class PPAPI_PROXY_EXPORT PluginResource : public Resource {
32 public: 30 public:
33 enum Destination { 31 enum Destination {
34 RENDERER = 0, 32 RENDERER = 0,
35 BROWSER = 1 33 BROWSER = 1
36 }; 34 };
37 35
38 PluginResource(Connection connection, PP_Instance instance); 36 PluginResource(Connection connection, PP_Instance instance);
39 ~PluginResource() override; 37 ~PluginResource() override;
40 38
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 278
281 if (UnpackMessage<ReplyMsgClass>(reply, a, b, c, d, e)) 279 if (UnpackMessage<ReplyMsgClass>(reply, a, b, c, d, e))
282 return result; 280 return result;
283 return PP_ERROR_FAILED; 281 return PP_ERROR_FAILED;
284 } 282 }
285 283
286 } // namespace proxy 284 } // namespace proxy
287 } // namespace ppapi 285 } // namespace ppapi
288 286
289 #endif // PPAPI_PROXY_PLUGIN_RESOURCE_H_ 287 #endif // PPAPI_PROXY_PLUGIN_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/pdf_resource.h ('k') | ppapi/proxy/ppb_var_deprecated_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698