Index: components/offline_pages/core/background/request_coordinator.h |
diff --git a/components/offline_pages/core/background/request_coordinator.h b/components/offline_pages/core/background/request_coordinator.h |
index b9d3fae985f00b49e48aa8fe1d5fbff19c91f0df..95b705670aef4b60984e482042ba85dcbb6174c6 100644 |
--- a/components/offline_pages/core/background/request_coordinator.h |
+++ b/components/offline_pages/core/background/request_coordinator.h |
@@ -440,6 +440,8 @@ class RequestCoordinator : public KeyedService, |
base::OneShotTimer watchdog_timer_; |
// Used for potential immediate processing when we get network connection. |
std::unique_ptr<ConnectionNotifier> connection_notifier_; |
+ // Used to track whether we have a prioritized request. |
+ std::list<int64_t> priortized_requests_; |
fgorski
2017/03/06 18:12:45
1. why list over vector?
2. if still prefer to cho
romax
2017/03/07 18:40:44
Done.
was using list for a pop_front() action...
|
// Allows us to pass a weak pointer to callbacks. |
base::WeakPtrFactory<RequestCoordinator> weak_ptr_factory_; |