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

Unified Diff: components/offline_pages/background/request_coordinator.h

Issue 2078113002: Don't start a second pre-render if one is in progress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: components/offline_pages/background/request_coordinator.h
diff --git a/components/offline_pages/background/request_coordinator.h b/components/offline_pages/background/request_coordinator.h
index ffbb8570499257b13d5d6f8b66ab650d85d5e887..2d8087198ea534fe5feedd1f9cea3b22d2c89724 100644
--- a/components/offline_pages/background/request_coordinator.h
+++ b/components/offline_pages/background/request_coordinator.h
@@ -96,6 +96,7 @@ class RequestCoordinator : public KeyedService {
friend class RequestCoordinatorTest;
+ bool request_in_progress_;
chili 2016/06/20 18:38:34 though probably annoying to change - can we rename
Pete Williamson 2016/06/21 17:55:25 renamed to is_busy_
// RequestCoordinator takes over ownership of the policy
std::unique_ptr<OfflinerPolicy> policy_;
// OfflinerFactory. Used to create offline pages. Owned.

Powered by Google App Engine
This is Rietveld 408576698