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

Unified Diff: content/browser/loader/mojo_async_resource_handler.h

Issue 2629513003: Implement CachedMetadata handling on MojoAsyncResourceHandler (Closed)
Patch Set: fix Created 3 years, 11 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
« no previous file with comments | « no previous file | content/browser/loader/mojo_async_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/mojo_async_resource_handler.h
diff --git a/content/browser/loader/mojo_async_resource_handler.h b/content/browser/loader/mojo_async_resource_handler.h
index 894ff848c0c1faf04c7c4f1aa750f6de87ec31a2..ebb38b2f3da220cf986b8ff2e49a4fd40deb8c2c 100644
--- a/content/browser/loader/mojo_async_resource_handler.h
+++ b/content/browser/loader/mojo_async_resource_handler.h
@@ -23,6 +23,7 @@
#include "url/gurl.h"
namespace net {
+class IOBufferWithSize;
class URLRequest;
}
@@ -74,6 +75,7 @@ class CONTENT_EXPORT MojoAsyncResourceHandler
// These functions can be overriden only for tests.
virtual MojoResult BeginWrite(void** data, uint32_t* available);
virtual MojoResult EndWrite(uint32_t written);
+ virtual net::IOBufferWithSize* GetResponseMetadata(net::URLRequest* request);
private:
class SharedWriter;
« no previous file with comments | « no previous file | content/browser/loader/mojo_async_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698