| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CPP_PRIVATE_ISOLATED_FILE_SYSTEM_PRIVATE_H_ | 5 #ifndef PPAPI_CPP_PRIVATE_ISOLATED_FILE_SYSTEM_PRIVATE_H_ |
| 6 #define PPAPI_CPP_PRIVATE_ISOLATED_FILE_SYSTEM_PRIVATE_H_ | 6 #define PPAPI_CPP_PRIVATE_ISOLATED_FILE_SYSTEM_PRIVATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| 11 #include "ppapi/c/private/ppb_isolated_file_system_private.h" | 11 #include "ppapi/c/private/ppb_isolated_file_system_private.h" |
| 12 #include "ppapi/cpp/completion_callback.h" | 12 #include "ppapi/cpp/completion_callback.h" |
| 13 #include "ppapi/cpp/file_system.h" | 13 #include "ppapi/cpp/file_system.h" |
| 14 #include "ppapi/cpp/instance_handle.h" | 14 #include "ppapi/cpp/instance_handle.h" |
| 15 | 15 |
| 16 namespace pp { | 16 namespace pp { |
| 17 | 17 |
| 18 class CompletionCallback; | |
| 19 | |
| 20 class IsolatedFileSystemPrivate { | 18 class IsolatedFileSystemPrivate { |
| 21 public: | 19 public: |
| 22 IsolatedFileSystemPrivate(); | 20 IsolatedFileSystemPrivate(); |
| 23 IsolatedFileSystemPrivate(const InstanceHandle& instance, | 21 IsolatedFileSystemPrivate(const InstanceHandle& instance, |
| 24 PP_IsolatedFileSystemType_Private type); | 22 PP_IsolatedFileSystemType_Private type); |
| 25 virtual ~IsolatedFileSystemPrivate(); | 23 virtual ~IsolatedFileSystemPrivate(); |
| 26 | 24 |
| 27 int32_t Open(const CompletionCallbackWithOutput<pp::FileSystem>& cc); | 25 int32_t Open(const CompletionCallbackWithOutput<pp::FileSystem>& cc); |
| 28 | 26 |
| 29 private: | 27 private: |
| 30 PP_Instance instance_; | 28 PP_Instance instance_; |
| 31 PP_IsolatedFileSystemType_Private type_; | 29 PP_IsolatedFileSystemType_Private type_; |
| 32 }; | 30 }; |
| 33 | 31 |
| 34 } // namespace pp | 32 } // namespace pp |
| 35 | 33 |
| 36 #endif // PPAPI_CPP_PRIVATE_ISOLATED_FILE_SYSTEM_PRIVATE_H_ | 34 #endif // PPAPI_CPP_PRIVATE_ISOLATED_FILE_SYSTEM_PRIVATE_H_ |
| OLD | NEW |