Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h

Issue 2455973003: [NaCl SDK] Refactor FakeFileSystemInterface. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h
diff --git a/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h b/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h
index 2a1336a4c25bfe7089dd1955f2b666b5fd3ad807..a368a8c0739376b8e015e992b2c29fbf0281cbe0 100644
--- a/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h
+++ b/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h
@@ -12,6 +12,7 @@
#include "fake_ppapi/fake_core_interface.h"
#include "fake_ppapi/fake_file_io_interface.h"
#include "fake_ppapi/fake_file_ref_interface.h"
+#include "fake_ppapi/fake_file_system_interface.h"
#include "fake_ppapi/fake_var_interface.h"
#include "fake_ppapi/fake_var_manager.h"
#include "nacl_io/pepper_interface_dummy.h"
@@ -97,22 +98,6 @@ class FakeHtml5FsFilesystem {
PP_FileSystemType filesystem_type_;
};
-class FakeFileSystemInterface : public nacl_io::FileSystemInterface {
- public:
- FakeFileSystemInterface(FakeCoreInterface* core_interface);
-
- virtual PP_Bool IsFileSystem(PP_Resource resource);
- virtual PP_Resource Create(PP_Instance instance, PP_FileSystemType type);
- virtual int32_t Open(PP_Resource file_system,
- int64_t expected_size,
- PP_CompletionCallback callback);
-
- private:
- FakeCoreInterface* core_interface_; // Weak reference.
-
- DISALLOW_COPY_AND_ASSIGN(FakeFileSystemInterface);
-};
-
class FakePepperInterfaceHtml5Fs : public nacl_io::PepperInterfaceDummy {
public:
FakePepperInterfaceHtml5Fs();

Powered by Google App Engine
This is Rietveld 408576698