OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "content/public/renderer/renderer_ppapi_host.h" | 13 #include "content/public/renderer/renderer_ppapi_host.h" |
| 14 #include "content/renderer/pepper/plugin_delegate.h" |
14 #include "ppapi/host/host_message_context.h" | 15 #include "ppapi/host/host_message_context.h" |
15 #include "ppapi/host/resource_host.h" | 16 #include "ppapi/host/resource_host.h" |
16 #include "ppapi/shared_impl/file_io_state_manager.h" | 17 #include "ppapi/shared_impl/file_io_state_manager.h" |
17 #include "ppapi/thunk/ppb_file_ref_api.h" | 18 #include "ppapi/thunk/ppb_file_ref_api.h" |
18 #include "webkit/plugins/ppapi/plugin_delegate.h" | |
19 | 19 |
20 using ppapi::host::ReplyMessageContext; | 20 using ppapi::host::ReplyMessageContext; |
21 using webkit::ppapi::PluginDelegate; | 21 using webkit::ppapi::PluginDelegate; |
22 | 22 |
23 namespace webkit { | 23 namespace webkit { |
24 namespace ppapi { | 24 namespace ppapi { |
25 class QuotaFileIO; | 25 class QuotaFileIO; |
26 } // namespace ppapi | 26 } // namespace ppapi |
27 } // namespace webkit | 27 } // namespace webkit |
28 | 28 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 base::WeakPtrFactory<PepperFileIOHost> weak_factory_; | 126 base::WeakPtrFactory<PepperFileIOHost> weak_factory_; |
127 | 127 |
128 ppapi::FileIOStateManager state_manager_; | 128 ppapi::FileIOStateManager state_manager_; |
129 | 129 |
130 DISALLOW_COPY_AND_ASSIGN(PepperFileIOHost); | 130 DISALLOW_COPY_AND_ASSIGN(PepperFileIOHost); |
131 }; | 131 }; |
132 | 132 |
133 } // namespace content | 133 } // namespace content |
134 | 134 |
135 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ | 135 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ |
OLD | NEW |