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

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

Issue 501703002: Hook up loading signal to ResourceScheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zhen_visibility
Patch Set: Rebase Created 6 years, 4 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_dispatcher_host_impl.h
diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h
index 45fbaa52338685b1279aa8a74aeda426c264217a..1603c280735a9b77b36f06393c672f43d05632af 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.h
+++ b/content/browser/loader/resource_dispatcher_host_impl.h
@@ -169,6 +169,11 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
// Called when a RenderViewHost is deleted.
void OnRenderViewHostDeleted(int child_id, int route_id);
+ // Called when a RenderViewHost starts or stops loading.
+ void OnRenderViewHostSetIsLoading(int child_id,
+ int route_id,
+ bool is_loading);
+
// Called when a RenderViewHost is hidden.
void OnRenderViewHostWasHidden(int child_id, int route_id);
« no previous file with comments | « no previous file | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | content/browser/loader/resource_scheduler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698