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_CHOOSER_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_FILE_CHOOSER_PROXY_H_ |
6 #define PPAPI_PROXY_PPB_FILE_CHOOSER_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_FILE_CHOOSER_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
13 #include "ppapi/cpp/completion_callback.h" | |
14 #include "ppapi/proxy/interface_proxy.h" | 13 #include "ppapi/proxy/interface_proxy.h" |
15 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" | 14 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" |
16 #include "ppapi/thunk/ppb_file_chooser_api.h" | 15 #include "ppapi/thunk/ppb_file_chooser_api.h" |
| 16 #include "ppapi/utility/completion_callback_factory.h" |
17 | 17 |
18 namespace ppapi { | 18 namespace ppapi { |
19 | 19 |
20 class HostResource; | 20 class HostResource; |
21 struct PPB_FileRef_CreateInfo; | 21 struct PPB_FileRef_CreateInfo; |
22 | 22 |
23 namespace proxy { | 23 namespace proxy { |
24 | 24 |
25 class PPB_FileChooser_Proxy : public InterfaceProxy { | 25 class PPB_FileChooser_Proxy : public InterfaceProxy { |
26 public: | 26 public: |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 pp::CompletionCallbackFactory<PPB_FileChooser_Proxy, | 63 pp::CompletionCallbackFactory<PPB_FileChooser_Proxy, |
64 ProxyNonThreadSafeRefCount> callback_factory_; | 64 ProxyNonThreadSafeRefCount> callback_factory_; |
65 | 65 |
66 DISALLOW_COPY_AND_ASSIGN(PPB_FileChooser_Proxy); | 66 DISALLOW_COPY_AND_ASSIGN(PPB_FileChooser_Proxy); |
67 }; | 67 }; |
68 | 68 |
69 } // namespace proxy | 69 } // namespace proxy |
70 } // namespace ppapi | 70 } // namespace ppapi |
71 | 71 |
72 #endif // PPAPI_PROXY_PPB_FILE_CHOOSER_PROXY_H_ | 72 #endif // PPAPI_PROXY_PPB_FILE_CHOOSER_PROXY_H_ |
OLD | NEW |