Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef PPAPI_CPP_PRIVATE_EXTENSION_CRX_FILE_SYSTEM_PRIVATE_H_ | |
| 6 #define PPAPI_CPP_PRIVATE_EXTENSION_CRX_FILE_SYSTEM_PRIVATE_H_ | |
| 7 | |
| 8 #include "ppapi/c/pp_instance.h" | |
| 9 #include "ppapi/cpp/file_system.h" | |
| 10 #include "ppapi/cpp/instance_handle.h" | |
| 11 | |
| 12 namespace pp { | |
| 13 | |
| 14 class CompletionCallback; | |
| 15 | |
| 16 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.
| |
| 17 public: | |
| 18 ExtCrxFileSystemPrivate(); | |
| 19 explicit ExtCrxFileSystemPrivate(const InstanceHandle& instance); | |
| 20 explicit ExtCrxFileSystemPrivate(const ExtCrxFileSystemPrivate& other); | |
| 21 virtual ~ExtCrxFileSystemPrivate(); | |
| 22 | |
| 23 int32_t Open(const CompletionCallback& cc); | |
| 24 }; | |
| 25 | |
| 26 } // namespace pp | |
| 27 | |
| 28 #endif // PPAPI_CPP_PRIVATE_EXTENSION_CRX_FILE_SYSTEM_PRIVATE_H_ | |
| OLD | NEW |