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

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

Issue 2164113002: Remove ResourceHandler::OnBeforeNetworkStart (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Oops Created 4 years, 5 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/resource_handler.h
diff --git a/content/browser/loader/resource_handler.h b/content/browser/loader/resource_handler.h
index caf9a7a6803194a918f1b547a803db7393015ac2..ee9b3b6fca8a671491924f86d84144dc83b28354 100644
--- a/content/browser/loader/resource_handler.h
+++ b/content/browser/loader/resource_handler.h
@@ -67,13 +67,6 @@ class CONTENT_EXPORT ResourceHandler
// ResourceDispatcherHost::StartDeferredRequest().
virtual bool OnWillStart(const GURL& url, bool* defer) = 0;
- // Called before the net::URLRequest (whose url is |url|} uses the network for
- // the first time to load the resource. If the handler returns false, then the
- // request is cancelled. Otherwise if the return value is true, the
- // ResourceHandler can delay the request from starting by setting |*defer =
- // true|. Call controller()->Resume() to continue if deferred.
- virtual bool OnBeforeNetworkStart(const GURL& url, bool* defer) = 0;
-
// Data will be read for the response. Upon success, this method places the
// size and address of the buffer where the data is to be written in its
// out-params. This call will be followed by either OnReadCompleted (on
« no previous file with comments | « content/browser/loader/navigation_resource_handler.cc ('k') | content/browser/loader/resource_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698