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_URL_UTIL_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_URL_UTIL_PROXY_H_ |
6 #define PPAPI_PROXY_PPB_URL_UTIL_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_URL_UTIL_PROXY_H_ |
7 | 7 |
8 #include "ppapi/c/pp_instance.h" | 8 #include "ppapi/c/pp_instance.h" |
9 #include "ppapi/proxy/interface_proxy.h" | 9 #include "ppapi/proxy/interface_proxy.h" |
10 #include "ppapi/proxy/serialized_var.h" | 10 #include "ppapi/proxy/serialized_var.h" |
11 | 11 |
12 struct PPB_URLUtil_Dev; | 12 struct PPB_URLUtil_Dev; |
13 | 13 |
14 namespace pp { | 14 namespace ppapi { |
15 namespace proxy { | 15 namespace proxy { |
16 | 16 |
17 class PPB_URLUtil_Proxy : public InterfaceProxy { | 17 class PPB_URLUtil_Proxy : public InterfaceProxy { |
18 public: | 18 public: |
19 PPB_URLUtil_Proxy(Dispatcher* dispatcher, const void* target_interface); | 19 PPB_URLUtil_Proxy(Dispatcher* dispatcher, const void* target_interface); |
20 virtual ~PPB_URLUtil_Proxy(); | 20 virtual ~PPB_URLUtil_Proxy(); |
21 | 21 |
22 static const Info* GetInfo(); | 22 static const Info* GetInfo(); |
23 | 23 |
24 const PPB_URLUtil_Dev* ppb_url_util_target() const { | 24 const PPB_URLUtil_Dev* ppb_url_util_target() const { |
(...skipping 16 matching lines...) Expand all Loading... |
41 PP_Bool* result); | 41 PP_Bool* result); |
42 void OnMsgGetDocumentURL(PP_Instance instance, | 42 void OnMsgGetDocumentURL(PP_Instance instance, |
43 SerializedVarReturnValue result); | 43 SerializedVarReturnValue result); |
44 void OnMsgGetPluginInstanceURL(PP_Instance instance, | 44 void OnMsgGetPluginInstanceURL(PP_Instance instance, |
45 SerializedVarReturnValue result); | 45 SerializedVarReturnValue result); |
46 | 46 |
47 DISALLOW_COPY_AND_ASSIGN(PPB_URLUtil_Proxy); | 47 DISALLOW_COPY_AND_ASSIGN(PPB_URLUtil_Proxy); |
48 }; | 48 }; |
49 | 49 |
50 } // namespace proxy | 50 } // namespace proxy |
51 } // namespace pp | 51 } // namespace ppapi |
52 | 52 |
53 #endif // PPAPI_PROXY_PPB_URL_UTIL_PROXY_H_ | 53 #endif // PPAPI_PROXY_PPB_URL_UTIL_PROXY_H_ |
54 | 54 |
OLD | NEW |