| 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 WEBKIT_PLUGINS_PPAPI_PPB_FILE_IO_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_FILE_IO_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPB_FILE_IO_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPB_FILE_IO_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "ppapi/shared_impl/ppb_file_io_shared.h" | 13 #include "ppapi/shared_impl/ppb_file_io_shared.h" |
| 14 #include "webkit/plugins/ppapi/plugin_delegate.h" | 14 #include "webkit/plugins/ppapi/plugin_delegate.h" |
| 15 | 15 |
| 16 struct PP_CompletionCallback; | 16 struct PP_CompletionCallback; |
| 17 struct PPB_FileIO; | |
| 18 | 17 |
| 19 namespace webkit { | 18 namespace webkit { |
| 20 namespace ppapi { | 19 namespace ppapi { |
| 21 | 20 |
| 22 class QuotaFileIO; | 21 class QuotaFileIO; |
| 23 | 22 |
| 24 class PPB_FileIO_Impl : public ::ppapi::PPB_FileIO_Shared { | 23 class PPB_FileIO_Impl : public ::ppapi::PPB_FileIO_Shared { |
| 25 public: | 24 public: |
| 26 explicit PPB_FileIO_Impl(PP_Instance instance); | 25 explicit PPB_FileIO_Impl(PP_Instance instance); |
| 27 virtual ~PPB_FileIO_Impl(); | 26 virtual ~PPB_FileIO_Impl(); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 87 |
| 89 base::WeakPtrFactory<PPB_FileIO_Impl> weak_factory_; | 88 base::WeakPtrFactory<PPB_FileIO_Impl> weak_factory_; |
| 90 | 89 |
| 91 DISALLOW_COPY_AND_ASSIGN(PPB_FileIO_Impl); | 90 DISALLOW_COPY_AND_ASSIGN(PPB_FileIO_Impl); |
| 92 }; | 91 }; |
| 93 | 92 |
| 94 } // namespace ppapi | 93 } // namespace ppapi |
| 95 } // namespace webkit | 94 } // namespace webkit |
| 96 | 95 |
| 97 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FILE_IO_IMPL_H_ | 96 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FILE_IO_IMPL_H_ |
| OLD | NEW |