Index: content/browser/loader/resource_scheduler.h |
diff --git a/content/browser/loader/resource_scheduler.h b/content/browser/loader/resource_scheduler.h |
index 2b8d7373b4f2c92f20ee194a182e4680a413cb25..af955b558ffd2c11856e1d1a3ca6983f66a56dd8 100644 |
--- a/content/browser/loader/resource_scheduler.h |
+++ b/content/browser/loader/resource_scheduler.h |
@@ -176,6 +176,9 @@ class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe { |
// Called when a ScheduledResourceRequest is destroyed. |
void RemoveRequest(ScheduledResourceRequest* request); |
+ // Get the string reprentation for the histogram number of Clients bucket. |
+ std::string GetNumClientsString(); |
+ |
// These calls may update the ThrottleState of all clients, and have the |
// potential to be re-entrant. |
// Called when a Client newly becomes active loading. |
@@ -220,6 +223,7 @@ class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe { |
bool should_coalesce_; |
bool should_throttle_; |
ClientMap client_map_; |
+ size_t num_clients_; |
size_t active_clients_loading_; |
size_t coalesced_clients_; |
// This is a repeating timer to initiate requests on COALESCED Clients. |