| 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_SYSTEM_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_FILE_SYSTEM_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPB_FILE_SYSTEM_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPB_FILE_SYSTEM_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 "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
| 11 #include "ppapi/c/pp_file_info.h" | 11 #include "ppapi/c/pp_file_info.h" |
| 12 #include "ppapi/c/ppb_file_system.h" |
| 12 #include "ppapi/shared_impl/resource.h" | 13 #include "ppapi/shared_impl/resource.h" |
| 13 #include "ppapi/thunk/ppb_file_system_api.h" | 14 #include "ppapi/thunk/ppb_file_system_api.h" |
| 14 | 15 |
| 15 struct PPB_FileSystem; | |
| 16 | |
| 17 namespace webkit { | 16 namespace webkit { |
| 18 namespace ppapi { | 17 namespace ppapi { |
| 19 | 18 |
| 20 class PPB_FileSystem_Impl : public ::ppapi::Resource, | 19 class PPB_FileSystem_Impl : public ::ppapi::Resource, |
| 21 public ::ppapi::thunk::PPB_FileSystem_API { | 20 public ::ppapi::thunk::PPB_FileSystem_API { |
| 22 public: | 21 public: |
| 23 virtual ~PPB_FileSystem_Impl(); | 22 virtual ~PPB_FileSystem_Impl(); |
| 24 | 23 |
| 25 static PP_Resource Create(PP_Instance instance, PP_FileSystemType type); | 24 static PP_Resource Create(PP_Instance instance, PP_FileSystemType type); |
| 26 | 25 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 46 bool opened_; | 45 bool opened_; |
| 47 bool called_open_; | 46 bool called_open_; |
| 48 | 47 |
| 49 DISALLOW_COPY_AND_ASSIGN(PPB_FileSystem_Impl); | 48 DISALLOW_COPY_AND_ASSIGN(PPB_FileSystem_Impl); |
| 50 }; | 49 }; |
| 51 | 50 |
| 52 } // namespace ppapi | 51 } // namespace ppapi |
| 53 } // namespace webkit | 52 } // namespace webkit |
| 54 | 53 |
| 55 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FILE_SYSTEM_IMPL_H_ | 54 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FILE_SYSTEM_IMPL_H_ |
| OLD | NEW |