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

Side by Side Diff: ppapi/proxy/ppp_class_proxy.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 9 years, 12 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_var_deprecated_proxy.cc ('k') | ppapi/proxy/ppp_class_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) 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_PPP_CLASS_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPP_CLASS_PROXY_H_
6 #define PPAPI_PROXY_PPP_CLASS_PROXY_H_ 6 #define PPAPI_PROXY_PPP_CLASS_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 24 matching lines...) Expand all
35 // PPB_Var_Deprecated interface to use to create the object. The class and 35 // PPB_Var_Deprecated interface to use to create the object. The class and
36 static PP_Var CreateProxiedObject(const PPB_Var_Deprecated* var, 36 static PP_Var CreateProxiedObject(const PPB_Var_Deprecated* var,
37 Dispatcher* dispatcher, 37 Dispatcher* dispatcher,
38 PP_Module module_id, 38 PP_Module module_id,
39 int64 ppp_class, 39 int64 ppp_class,
40 int64 class_data); 40 int64 class_data);
41 41
42 // InterfaceProxy implementation. 42 // InterfaceProxy implementation.
43 virtual const void* GetSourceInterface() const; 43 virtual const void* GetSourceInterface() const;
44 virtual InterfaceID GetInterfaceId() const; 44 virtual InterfaceID GetInterfaceId() const;
45 virtual void OnMessageReceived(const IPC::Message& msg); 45 virtual bool OnMessageReceived(const IPC::Message& msg);
46 46
47 private: 47 private:
48 // IPC message handlers. 48 // IPC message handlers.
49 void OnMsgHasProperty(int64 ppp_class, int64 object, 49 void OnMsgHasProperty(int64 ppp_class, int64 object,
50 SerializedVarReceiveInput property, 50 SerializedVarReceiveInput property,
51 SerializedVarOutParam exception, 51 SerializedVarOutParam exception,
52 bool* result); 52 bool* result);
53 void OnMsgHasMethod(int64 ppp_class, int64 object, 53 void OnMsgHasMethod(int64 ppp_class, int64 object,
54 SerializedVarReceiveInput property, 54 SerializedVarReceiveInput property,
55 SerializedVarOutParam exception, 55 SerializedVarOutParam exception,
(...skipping 24 matching lines...) Expand all
80 SerializedVarReturnValue result); 80 SerializedVarReturnValue result);
81 void OnMsgDeallocate(int64 ppp_class, int64 object); 81 void OnMsgDeallocate(int64 ppp_class, int64 object);
82 82
83 DISALLOW_COPY_AND_ASSIGN(PPP_Class_Proxy); 83 DISALLOW_COPY_AND_ASSIGN(PPP_Class_Proxy);
84 }; 84 };
85 85
86 } // namespace proxy 86 } // namespace proxy
87 } // namespace pp 87 } // namespace pp
88 88
89 #endif // PPAPI_PROXY_PPP_CLASS_PROXY_H_ 89 #endif // PPAPI_PROXY_PPP_CLASS_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_var_deprecated_proxy.cc ('k') | ppapi/proxy/ppp_class_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698