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