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

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

Issue 2467223003: [NaCl SDK] Refactor FakeHtml5FsFilesystem and FakeHtml5FsNode. (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_util.h
diff --git a/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.h b/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.h
index 6089663e0e6e7cc2466dcd6d45baa04f25f2ee82..6713988be2ad1313f50c2df386480e9460cfaf9e 100644
--- a/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.h
+++ b/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.h
@@ -9,7 +9,7 @@
#include <ppapi/c/pp_completion_callback.h>
-#include "fake_ppapi/fake_pepper_interface_html5_fs.h"
+#include "fake_ppapi/fake_filesystem.h"
#include "fake_ppapi/fake_resource_manager.h"
class FakeFileRefResource : public FakeResource {
@@ -17,8 +17,8 @@ class FakeFileRefResource : public FakeResource {
FakeFileRefResource() : filesystem(NULL) {}
static const char* classname() { return "FakeFileRefResource"; }
- FakeHtml5FsFilesystem* filesystem; // Weak reference.
- FakeHtml5FsFilesystem::Path path;
+ FakeFilesystem* filesystem; // Weak reference.
+ FakeFilesystem::Path path;
std::string contents;
};
@@ -28,7 +28,7 @@ class FakeFileSystemResource : public FakeResource {
~FakeFileSystemResource() { delete filesystem; }
static const char* classname() { return "FakeFileSystemResource"; }
- FakeHtml5FsFilesystem* filesystem; // Owned.
+ FakeFilesystem* filesystem; // Owned.
bool opened;
};
@@ -37,7 +37,7 @@ class FakeHtml5FsResource : public FakeResource {
FakeHtml5FsResource() : filesystem_template(NULL) {}
static const char* classname() { return "FakeHtml5FsResource"; }
- FakeHtml5FsFilesystem* filesystem_template; // Weak reference.
+ FakeFilesystem* filesystem_template; // Weak reference.
};
int32_t RunCompletionCallback(PP_CompletionCallback* callback, int32_t result);

Powered by Google App Engine
This is Rietveld 408576698