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

Unified Diff: webkit/tools/test_shell/test_shell_request_context.h

Issue 3282003: Support handling blob URL and resolve blob references in upload data.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months 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: webkit/tools/test_shell/test_shell_request_context.h
===================================================================
--- webkit/tools/test_shell/test_shell_request_context.h (revision 57912)
+++ webkit/tools/test_shell/test_shell_request_context.h (working copy)
@@ -11,6 +11,10 @@
class FilePath;
+namespace webkit_blob {
+class BlobStorageController;
+}
+
// A basic URLRequestContext that only provides an in-memory cookie store.
class TestShellRequestContext : public URLRequestContext {
public:
@@ -25,11 +29,17 @@
virtual const std::string& GetUserAgent(const GURL& url) const;
+ webkit_blob::BlobStorageController* blob_storage_controller() const {
+ return blob_storage_controller_.get();
+ }
+
private:
~TestShellRequestContext();
void Init(const FilePath& cache_path, net::HttpCache::Mode cache_mode,
bool no_proxy);
+
+ scoped_ptr<webkit_blob::BlobStorageController> blob_storage_controller_;
};
#endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_REQUEST_CONTEXT_H__

Powered by Google App Engine
This is Rietveld 408576698