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

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

Issue 1985923002: Wireframe scheduler implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More CR feedback per BauerB Created 4 years, 7 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 77c24948a2effb2643dec93169645e9d977fee24..a6c549a08a2e9aa330ac5b4aa536778bf9d79525 100644
--- a/components/offline_pages/background/request_coordinator.h
+++ b/components/offline_pages/background/request_coordinator.h
@@ -55,9 +55,10 @@ class RequestCoordinator :
void StopProcessing();
// Returns the request queue used for requests. Coordinator keeps ownership.
- RequestQueue* GetQueue() { return queue_.get(); }
+ RequestQueue* queue() { return queue_.get(); }
- Scheduler* GetSchedulerForTesting() { return scheduler_.get(); }
+ // Return an unowned pointer to the Scheduler.
+ Scheduler* scheduler() { return scheduler_.get(); }
// Returns the status of the most recent offlining.
Offliner::RequestStatus last_offlining_status() {

Powered by Google App Engine
This is Rietveld 408576698