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

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

Issue 5978003: Make IPC::Channel::Listener:OnMessageReceived have a return value indicating ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
« no previous file with comments | « ipc/sync_socket_unittest.cc ('k') | ppapi/proxy/dispatcher.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 96 }
97 97
98 // Called if the remote side is declaring to us which interfaces it supports 98 // Called if the remote side is declaring to us which interfaces it supports
99 // so we don't have to query for each one. We'll pre-create proxies for 99 // so we don't have to query for each one. We'll pre-create proxies for
100 // each of the given interfaces. 100 // each of the given interfaces.
101 101
102 // IPC::Message::Sender implementation. 102 // IPC::Message::Sender implementation.
103 virtual bool Send(IPC::Message* msg); 103 virtual bool Send(IPC::Message* msg);
104 104
105 // IPC::Channel::Listener implementation. 105 // IPC::Channel::Listener implementation.
106 virtual void OnMessageReceived(const IPC::Message& msg); 106 virtual bool OnMessageReceived(const IPC::Message& msg);
107 107
108 IPC::SyncChannel* channel() const { 108 IPC::SyncChannel* channel() const {
109 return channel_.get(); 109 return channel_.get();
110 } 110 }
111 111
112 CallbackTracker& callback_tracker() { 112 CallbackTracker& callback_tracker() {
113 return callback_tracker_; 113 return callback_tracker_;
114 } 114 }
115 115
116 protected: 116 protected:
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 189
190 scoped_ptr<VarSerializationRules> serialization_rules_; 190 scoped_ptr<VarSerializationRules> serialization_rules_;
191 191
192 DISALLOW_COPY_AND_ASSIGN(Dispatcher); 192 DISALLOW_COPY_AND_ASSIGN(Dispatcher);
193 }; 193 };
194 194
195 } // namespace proxy 195 } // namespace proxy
196 } // namespace pp 196 } // namespace pp
197 197
198 #endif // PPAPI_PROXY_DISPATCHER_H_ 198 #endif // PPAPI_PROXY_DISPATCHER_H_
OLDNEW
« no previous file with comments | « ipc/sync_socket_unittest.cc ('k') | ppapi/proxy/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698