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_FILE_REF_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_FILE_REF_PROXY_H_ |
6 #define PPAPI_PROXY_PPB_FILE_REF_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_FILE_REF_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "ppapi/c/pp_module.h" | 11 #include "ppapi/c/pp_module.h" |
12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
13 #include "ppapi/c/pp_time.h" | 13 #include "ppapi/c/pp_time.h" |
14 #include "ppapi/proxy/interface_proxy.h" | 14 #include "ppapi/proxy/interface_proxy.h" |
15 | 15 |
16 struct PPB_FileRef_Dev; | 16 struct PPB_FileRef_Dev; |
17 | 17 |
18 namespace ppapi { | 18 namespace ppapi { |
| 19 |
19 class HostResource; | 20 class HostResource; |
20 } | |
21 | 21 |
22 namespace pp { | |
23 namespace proxy { | 22 namespace proxy { |
24 | 23 |
25 struct PPBFileRef_CreateInfo; | 24 struct PPBFileRef_CreateInfo; |
26 | 25 |
27 class PPB_FileRef_Proxy : public InterfaceProxy { | 26 class PPB_FileRef_Proxy : public InterfaceProxy { |
28 public: | 27 public: |
29 PPB_FileRef_Proxy(Dispatcher* dispatcher, const void* target_interface); | 28 PPB_FileRef_Proxy(Dispatcher* dispatcher, const void* target_interface); |
30 virtual ~PPB_FileRef_Proxy(); | 29 virtual ~PPB_FileRef_Proxy(); |
31 | 30 |
32 static const Info* GetInfo(); | 31 static const Info* GetInfo(); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 void OnMsgDelete(const ppapi::HostResource& host_resource, | 75 void OnMsgDelete(const ppapi::HostResource& host_resource, |
77 uint32_t serialized_callback); | 76 uint32_t serialized_callback); |
78 void OnMsgRename(const ppapi::HostResource& file_ref, | 77 void OnMsgRename(const ppapi::HostResource& file_ref, |
79 const ppapi::HostResource& new_file_ref, | 78 const ppapi::HostResource& new_file_ref, |
80 uint32_t serialized_callback); | 79 uint32_t serialized_callback); |
81 | 80 |
82 DISALLOW_COPY_AND_ASSIGN(PPB_FileRef_Proxy); | 81 DISALLOW_COPY_AND_ASSIGN(PPB_FileRef_Proxy); |
83 }; | 82 }; |
84 | 83 |
85 } // namespace proxy | 84 } // namespace proxy |
86 } // namespace pp | 85 } // namespace ppapi |
87 | 86 |
88 #endif // PPAPI_PROXY_PPB_FILE_REF_PROXY_H_ | 87 #endif // PPAPI_PROXY_PPB_FILE_REF_PROXY_H_ |
OLD | NEW |