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

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: CR feedback per DewittJ 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 4ab1e5a0680833a31c30f79eec2e1cec28cbb932..990636d21001dbb3a39c7d7851d60a3f048e6a73 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::CompletionStatus last_offlining_status() {

Powered by Google App Engine
This is Rietveld 408576698