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

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

Issue 8364040: Revert 106677 (caused several PPAPI test timeouts, see http://crbug.com/101154) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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/enter_proxy.h ('k') | ppapi/proxy/interface_proxy.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 // 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_INTERFACE_PROXY_H_ 5 #ifndef PPAPI_PROXY_INTERFACE_PROXY_H_
6 #define PPAPI_PROXY_INTERFACE_PROXY_H_ 6 #define PPAPI_PROXY_INTERFACE_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ipc/ipc_channel.h" 9 #include "ipc/ipc_channel.h"
10 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual bool Send(IPC::Message* msg); 53 virtual bool Send(IPC::Message* msg);
54 54
55 // Sub-classes must implement IPC::Channel::Listener which contains this: 55 // Sub-classes must implement IPC::Channel::Listener which contains this:
56 //virtual bool OnMessageReceived(const IPC::Message& msg); 56 //virtual bool OnMessageReceived(const IPC::Message& msg);
57 57
58 protected: 58 protected:
59 // Creates the given interface associated with the given dispatcher. The 59 // Creates the given interface associated with the given dispatcher. The
60 // dispatcher manages our lifetime. 60 // dispatcher manages our lifetime.
61 InterfaceProxy(Dispatcher* dispatcher); 61 InterfaceProxy(Dispatcher* dispatcher);
62 62
63 uint32 SendCallback(PP_CompletionCallback callback);
64 PP_CompletionCallback ReceiveCallback(uint32 serialized_callback);
65
63 private: 66 private:
64 Dispatcher* dispatcher_; 67 Dispatcher* dispatcher_;
65 }; 68 };
66 69
67 } // namespace proxy 70 } // namespace proxy
68 } // namespace ppapi 71 } // namespace ppapi
69 72
70 #endif // PPAPI_PROXY_INTERFACE_PROXY_H_ 73 #endif // PPAPI_PROXY_INTERFACE_PROXY_H_
71 74
OLDNEW
« no previous file with comments | « ppapi/proxy/enter_proxy.h ('k') | ppapi/proxy/interface_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698