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

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

Issue 692723002: Add histograms to gather ResourceScheduler information. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_scheduler.h
diff --git a/content/browser/loader/resource_scheduler.h b/content/browser/loader/resource_scheduler.h
index b44eb7710bd65048cdbca1905b8bbed0b1ae9870..aeb18f3dc4b445c06101f606475423435dc0c8c6 100644
--- a/content/browser/loader/resource_scheduler.h
+++ b/content/browser/loader/resource_scheduler.h
@@ -188,6 +188,10 @@ class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe {
size_t CountCoalescedClients() const;
+ // Returns true iff the client would have the ActiveLoading throttle state
+ // while it was loading.
+ bool IsClientActive(ClientId client_id);
mmenke 2014/10/30 15:14:19 const
+
// Update the queue position for |request|, possibly causing it to start
// loading.
//
« no previous file with comments | « no previous file | content/browser/loader/resource_scheduler.cc » ('j') | content/browser/loader/resource_scheduler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698