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

Unified Diff: content/browser/loader/throttling_resource_handler.cc

Issue 424753005: Rename ResourceThrottle::OnBeforeNetworkStart to WillStartUsingNetwork. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/throttling_resource_handler.cc
diff --git a/content/browser/loader/throttling_resource_handler.cc b/content/browser/loader/throttling_resource_handler.cc
index a302f1da797894f5b69ce91adeb5af218f17018b..9b1df5421e5d54306d809f08edc019c9e3e0f7fc 100644
--- a/content/browser/loader/throttling_resource_handler.cc
+++ b/content/browser/loader/throttling_resource_handler.cc
@@ -87,7 +87,7 @@ bool ThrottlingResourceHandler::OnBeforeNetworkStart(const GURL& url,
*defer = false;
while (next_index_ < throttles_.size()) {
int index = next_index_;
- throttles_[index]->OnBeforeNetworkStart(defer);
+ throttles_[index]->WillStartUsingNetwork(defer);
next_index_++;
if (cancelled_by_resource_throttle_)
return false;
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | content/public/browser/resource_throttle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698