| OLD | NEW |
| 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_PPB_CONSOLE_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_CONSOLE_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_CONSOLE_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_CONSOLE_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
| 10 #include "ppapi/proxy/interface_proxy.h" | 10 #include "ppapi/proxy/interface_proxy.h" |
| 11 #include "ppapi/proxy/serialized_var.h" | 11 #include "ppapi/proxy/serialized_var.h" |
| 12 | 12 |
| 13 struct PPB_Console_Dev; | 13 struct PPB_Console_Dev; |
| 14 | 14 |
| 15 namespace pp { | 15 namespace ppapi { |
| 16 namespace proxy { | 16 namespace proxy { |
| 17 | 17 |
| 18 class PPB_Console_Proxy : public InterfaceProxy { | 18 class PPB_Console_Proxy : public InterfaceProxy { |
| 19 public: | 19 public: |
| 20 PPB_Console_Proxy(Dispatcher* dispatcher, const void* target_interface); | 20 PPB_Console_Proxy(Dispatcher* dispatcher, const void* target_interface); |
| 21 virtual ~PPB_Console_Proxy(); | 21 virtual ~PPB_Console_Proxy(); |
| 22 | 22 |
| 23 static const Info* GetInfo(); | 23 static const Info* GetInfo(); |
| 24 | 24 |
| 25 const PPB_Console_Dev* ppb_console_target() const { | 25 const PPB_Console_Dev* ppb_console_target() const { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 36 SerializedVarReceiveInput value); | 36 SerializedVarReceiveInput value); |
| 37 void OnMsgLogWithSource(PP_Instance instance, | 37 void OnMsgLogWithSource(PP_Instance instance, |
| 38 int log_level, | 38 int log_level, |
| 39 SerializedVarReceiveInput source, | 39 SerializedVarReceiveInput source, |
| 40 SerializedVarReceiveInput value); | 40 SerializedVarReceiveInput value); |
| 41 | 41 |
| 42 DISALLOW_COPY_AND_ASSIGN(PPB_Console_Proxy); | 42 DISALLOW_COPY_AND_ASSIGN(PPB_Console_Proxy); |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace proxy | 45 } // namespace proxy |
| 46 } // namespace pp | 46 } // namespace ppapi |
| 47 | 47 |
| 48 #endif // PPAPI_PROXY_PPB_CONSOLE_PROXY_H_ | 48 #endif // PPAPI_PROXY_PPB_CONSOLE_PROXY_H_ |
| OLD | NEW |