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

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

Issue 2207763005: [Offline Pages] Revises Background OfflinerRequestStatus histogram to have namespace suffix. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge with download namespace change Created 4 years, 4 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
« no previous file with comments | « no previous file | components/offline_pages/background/request_coordinator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1e51f185384f050db808ff1adfae170b44543e3c..5c6c03ba07193c4a779da7d6ea1d0ead94cf177e 100644
--- a/components/offline_pages/background/request_coordinator.h
+++ b/components/offline_pages/background/request_coordinator.h
@@ -176,6 +176,8 @@ class RequestCoordinator : public KeyedService {
std::unique_ptr<RequestQueue> queue_;
// Scheduler. Used to request a callback when network is available. Owned.
std::unique_ptr<Scheduler> scheduler_;
+ // Holds copy of the active request, if any.
+ std::unique_ptr<SavePageRequest> active_request_;
// Status of the most recent offlining.
Offliner::RequestStatus last_offlining_status_;
// Class to choose which request to schedule next
« no previous file with comments | « no previous file | components/offline_pages/background/request_coordinator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698