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