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_IO_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_FILE_IO_PROXY_H_ |
6 #define PPAPI_PROXY_PPB_FILE_IO_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_FILE_IO_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_file_info.h" | 11 #include "ppapi/c/pp_file_info.h" |
12 #include "ppapi/proxy/interface_proxy.h" | 12 #include "ppapi/proxy/interface_proxy.h" |
13 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" | 13 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" |
| 14 #include "ppapi/utility/completion_callback_factory.h" |
14 | 15 |
15 namespace ppapi { | 16 namespace ppapi { |
16 | 17 |
17 class HostResource; | 18 class HostResource; |
18 namespace proxy { | 19 namespace proxy { |
19 | 20 |
20 class PPB_FileIO_Proxy : public InterfaceProxy { | 21 class PPB_FileIO_Proxy : public InterfaceProxy { |
21 public: | 22 public: |
22 explicit PPB_FileIO_Proxy(Dispatcher* dispatcher); | 23 explicit PPB_FileIO_Proxy(Dispatcher* dispatcher); |
23 virtual ~PPB_FileIO_Proxy(); | 24 virtual ~PPB_FileIO_Proxy(); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 pp::CompletionCallbackFactory<PPB_FileIO_Proxy, | 85 pp::CompletionCallbackFactory<PPB_FileIO_Proxy, |
85 ProxyNonThreadSafeRefCount> callback_factory_; | 86 ProxyNonThreadSafeRefCount> callback_factory_; |
86 | 87 |
87 DISALLOW_COPY_AND_ASSIGN(PPB_FileIO_Proxy); | 88 DISALLOW_COPY_AND_ASSIGN(PPB_FileIO_Proxy); |
88 }; | 89 }; |
89 | 90 |
90 } // namespace proxy | 91 } // namespace proxy |
91 } // namespace ppapi | 92 } // namespace ppapi |
92 | 93 |
93 #endif // PPAPI_PROXY_PPB_FILE_IO_PROXY_H_ | 94 #endif // PPAPI_PROXY_PPB_FILE_IO_PROXY_H_ |
OLD | NEW |