Index: ppapi/cpp/private/ext_crx_file_system_private.h |
diff --git a/ppapi/cpp/private/ext_crx_file_system_private.h b/ppapi/cpp/private/ext_crx_file_system_private.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..26a6e90a8c15a272e3acd6d005fd9a1d8f798fa5 |
--- /dev/null |
+++ b/ppapi/cpp/private/ext_crx_file_system_private.h |
@@ -0,0 +1,28 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef PPAPI_CPP_PRIVATE_EXTENSION_CRX_FILE_SYSTEM_PRIVATE_H_ |
+#define PPAPI_CPP_PRIVATE_EXTENSION_CRX_FILE_SYSTEM_PRIVATE_H_ |
+ |
+#include "ppapi/c/pp_instance.h" |
+#include "ppapi/cpp/file_system.h" |
+#include "ppapi/cpp/instance_handle.h" |
+ |
+namespace pp { |
+ |
+class CompletionCallback; |
+ |
+class ExtCrxFileSystemPrivate : public FileSystem { |
yzshen1
2013/04/30 19:31:19
It doesn't make sense to inherit from FileSystem.
victorhsieh
2013/04/30 22:04:32
That's true, but if we don't do this, we'll have t
yzshen1
2013/05/01 17:45:10
You could create a subclass of FileRef, say, ExtCr
victorhsieh
2013/05/02 18:59:06
Done.
|
+ public: |
+ ExtCrxFileSystemPrivate(); |
+ explicit ExtCrxFileSystemPrivate(const InstanceHandle& instance); |
+ explicit ExtCrxFileSystemPrivate(const ExtCrxFileSystemPrivate& other); |
+ virtual ~ExtCrxFileSystemPrivate(); |
+ |
+ int32_t Open(const CompletionCallback& cc); |
+}; |
+ |
+} // namespace pp |
+ |
+#endif // PPAPI_CPP_PRIVATE_EXTENSION_CRX_FILE_SYSTEM_PRIVATE_H_ |