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