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

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

Issue 129173002: Adds the new URLRequest::OnBeforeNetworkStart hook to the (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@defer_1_net
Patch Set: Created 6 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
Index: content/browser/loader/stream_resource_handler.h
diff --git a/content/browser/loader/stream_resource_handler.h b/content/browser/loader/stream_resource_handler.h
index 14c576705d4cce01ed93a1768390cccbfe774296..daa9b504a2ac9bf8499239a3e1e383e6e9245425 100644
--- a/content/browser/loader/stream_resource_handler.h
+++ b/content/browser/loader/stream_resource_handler.h
@@ -49,6 +49,10 @@ class StreamResourceHandler : public StreamWriteObserver,
const GURL& url,
bool* defer) OVERRIDE;
+ virtual bool OnBeforeNetworkStart(int request_id,
+ const GURL& url,
+ bool* defer) OVERRIDE;
+
// Create a new buffer to store received data.
virtual bool OnWillRead(int request_id,
scoped_refptr<net::IOBuffer>* buf,

Powered by Google App Engine
This is Rietveld 408576698