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

Unified Diff: content/browser/download/save_file_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/download/save_file_resource_handler.h
diff --git a/content/browser/download/save_file_resource_handler.h b/content/browser/download/save_file_resource_handler.h
index 2079431f9ddba7cdbeab98daecd12185a5db82f9..fceaee927c502ae4fdf60da5574cae121c110492 100644
--- a/content/browser/download/save_file_resource_handler.h
+++ b/content/browser/download/save_file_resource_handler.h
@@ -45,6 +45,11 @@ class SaveFileResourceHandler : public ResourceHandler {
const GURL& url,
bool* defer) OVERRIDE;
+ // Pass-through implementation.
+ virtual bool OnBeforeNetworkStart(int request_id,
+ const GURL& url,
+ bool* defer) OVERRIDE;
+
// Creates a new buffer, which will be handed to the download thread for file
// writing and deletion.
virtual bool OnWillRead(int request_id,

Powered by Google App Engine
This is Rietveld 408576698