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

Unified Diff: native_client_sdk/src/libraries/nacl_io/mount_http.h

Issue 77423002: [NaCl SDK] Add URLLoader fake pepper interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: feedback Created 7 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
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/mount_node_http.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/nacl_io/mount_http.h
diff --git a/native_client_sdk/src/libraries/nacl_io/mount_http.h b/native_client_sdk/src/libraries/nacl_io/mount_http.h
index 21d688e64cb81f205319df5d2d1b8383f32d1d67..4946d9f413fa9e62278eef742f2987aefc1c5981 100644
--- a/native_client_sdk/src/libraries/nacl_io/mount_http.h
+++ b/native_client_sdk/src/libraries/nacl_io/mount_http.h
@@ -11,12 +11,8 @@
#include "nacl_io/pepper_interface.h"
#include "nacl_io/typed_mount_factory.h"
-class MountHttpMock;
-
namespace nacl_io {
-class MountNode;
-
std::string NormalizeHeaderKey(const std::string& s);
class MountHttp : public Mount {
@@ -44,6 +40,8 @@ class MountHttp : public Mount {
Error LoadManifest(const std::string& path, char** out_manifest);
Error ParseManifest(const char *text);
+ NodeMap_t* GetNodeCacheForTesting() { return &node_cache_; }
+
private:
// Gets the URL to fetch for |path|.
// |path| is relative to the mount point for the HTTP filesystem.
@@ -59,7 +57,6 @@ class MountHttp : public Mount {
friend class TypedMountFactory<MountHttp>;
friend class MountNodeHttp;
- friend class ::MountHttpMock;
};
} // namespace nacl_io
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/mount_node_http.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698