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

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

Issue 7687005: Create ppapi_proxy.dll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | « ppapi/proxy/broker_dispatcher.h ('k') | ppapi/proxy/host_dispatcher.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_DISPATCHER_H_ 5 #ifndef PPAPI_PROXY_DISPATCHER_H_
6 #define PPAPI_PROXY_DISPATCHER_H_ 6 #define PPAPI_PROXY_DISPATCHER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 24 matching lines...) Expand all
35 // Plugin side | Browser side 35 // Plugin side | Browser side
36 // -------------------------------------|-------------------------------------- 36 // -------------------------------------|--------------------------------------
37 // | 37 // |
38 // "Source" | "Target" 38 // "Source" | "Target"
39 // InterfaceProxy ----------------------> InterfaceProxy 39 // InterfaceProxy ----------------------> InterfaceProxy
40 // | 40 // |
41 // | 41 // |
42 // "Target" | "Source" 42 // "Target" | "Source"
43 // InterfaceProxy <---------------------- InterfaceProxy 43 // InterfaceProxy <---------------------- InterfaceProxy
44 // | 44 // |
45 class Dispatcher : public ProxyChannel { 45 class PPAPI_PROXY_EXPORT Dispatcher : public ProxyChannel {
46 public: 46 public:
47 typedef const void* (*GetInterfaceFunc)(const char*); 47 typedef const void* (*GetInterfaceFunc)(const char*);
48 typedef int32_t (*InitModuleFunc)(PP_Module, GetInterfaceFunc); 48 typedef int32_t (*InitModuleFunc)(PP_Module, GetInterfaceFunc);
49 49
50 virtual ~Dispatcher(); 50 virtual ~Dispatcher();
51 51
52 // Returns true if the dispatcher is on the plugin side, or false if it's the 52 // Returns true if the dispatcher is on the plugin side, or false if it's the
53 // browser side. 53 // browser side.
54 virtual bool IsPlugin() const = 0; 54 virtual bool IsPlugin() const = 0;
55 55
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 scoped_ptr<VarSerializationRules> serialization_rules_; 115 scoped_ptr<VarSerializationRules> serialization_rules_;
116 116
117 DISALLOW_COPY_AND_ASSIGN(Dispatcher); 117 DISALLOW_COPY_AND_ASSIGN(Dispatcher);
118 }; 118 };
119 119
120 } // namespace proxy 120 } // namespace proxy
121 } // namespace ppapi 121 } // namespace ppapi
122 122
123 #endif // PPAPI_PROXY_DISPATCHER_H_ 123 #endif // PPAPI_PROXY_DISPATCHER_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/broker_dispatcher.h ('k') | ppapi/proxy/host_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698