Chromium Code Reviews| 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..a4a0a1b96fc1d5d444a1634bebd0bf0ebb600c28 100644 |
| --- a/content/browser/loader/resource_scheduler.h |
| +++ b/content/browser/loader/resource_scheduler.h |
| @@ -150,6 +150,8 @@ class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe { |
| bool IsClientVisibleForTesting(int child_id, int route_id); |
| + bool HasLoadingClients() const; |
|
Andre
2015/05/05 20:06:49
Is there a better way to find out if any tab is cu
mmenke
2015/05/05 21:42:18
Hrm...Don't see one, since we're on the IO thread.
|
| + |
| private: |
| enum ClientState { |
| // Observable client. |