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