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

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

Issue 2538163003: [NaCl SDK] Implement FakePepperInterfaceGoogleDriveFs (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a8cb60c13254908e92b284663bfff0eb5d99a811..0e77fd18c57ed3a0f07ef6c6580812c37adae8d0 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
@@ -12,6 +12,8 @@
#include "fake_ppapi/fake_filesystem.h"
#include "fake_ppapi/fake_resource_manager.h"
+const int32_t STATUSCODE_NOT_IMPLEMENTED = 501;
+
class FakeFileRefResource : public FakeResource {
public:
FakeFileRefResource() : filesystem(NULL) {}
@@ -42,13 +44,14 @@ class FakeHtml5FsResource : public FakeResource {
class FakeURLRequestInfoResource : public FakeResource {
public:
- FakeURLRequestInfoResource() {}
+ FakeURLRequestInfoResource() : stream_to_file(false) {}
static const char* classname() { return "FakeURLRequestInfoResource"; }
std::string url;
std::string method;
std::string headers;
std::string body;
+ bool stream_to_file;
};
class FakeURLResponseInfoResource : public FakeResource {
« no previous file with comments | « native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698