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

Unified Diff: webkit/child/weburlloader_impl.cc

Issue 132143003: [abort] Let webkit know we're past the phase where throttles run. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « webkit/child/resource_loader_bridge.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/child/weburlloader_impl.cc
diff --git a/webkit/child/weburlloader_impl.cc b/webkit/child/weburlloader_impl.cc
index 9ecf69a883f1aad21dbb377b364796210b96cd36..70dc9ab74f5fa33c7140dce9fa353418d4dd657f 100644
--- a/webkit/child/weburlloader_impl.cc
+++ b/webkit/child/weburlloader_impl.cc
@@ -247,6 +247,7 @@ class WebURLLoaderImpl::Context : public base::RefCounted<Context>,
bool was_ignored_by_handler,
const std::string& security_info,
const base::TimeTicks& completion_time) OVERRIDE;
+ virtual void OnStartedRequestForFrame() OVERRIDE;
private:
friend class base::RefCounted<Context>;
@@ -626,6 +627,13 @@ void WebURLLoaderImpl::Context::OnCompletedRequest(
Release();
}
+void WebURLLoaderImpl::Context::OnStartedRequestForFrame() {
+ if (!client_)
+ return;
+
+ client_->didRequestStartForFrame(loader_);
+}
+
bool WebURLLoaderImpl::Context::CanHandleDataURL(const GURL& url) const {
DCHECK(url.SchemeIs("data"));
« no previous file with comments | « webkit/child/resource_loader_bridge.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698