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

Unified Diff: components/offline_pages/background/request_coordinator_unittest.cc

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
« no previous file with comments | « components/offline_pages/background/request_coordinator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/background/request_coordinator_unittest.cc
diff --git a/components/offline_pages/background/request_coordinator_unittest.cc b/components/offline_pages/background/request_coordinator_unittest.cc
index ab506f0aab026eeacf09e13283d31e26ba100f8b..5ce176012d19caa4a2322357380e7f4a03367ae6 100644
--- a/components/offline_pages/background/request_coordinator_unittest.cc
+++ b/components/offline_pages/background/request_coordinator_unittest.cc
@@ -156,7 +156,7 @@ TEST_F(RequestCoordinatorTest, SavePageLater) {
EXPECT_TRUE(coordinator()->SavePageLater(kUrl, kClientId));
// Expect that a request got placed on the queue.
- coordinator()->GetQueue()->GetRequests(
+ coordinator()->queue()->GetRequests(
base::Bind(&RequestCoordinatorTest::GetRequestsDone,
base::Unretained(this)));
@@ -170,7 +170,7 @@ TEST_F(RequestCoordinatorTest, SavePageLater) {
// Expect that the scheduler got notified.
SchedulerStub* scheduler_stub = reinterpret_cast<SchedulerStub*>(
- coordinator()->GetSchedulerForTesting());
+ coordinator()->scheduler());
EXPECT_TRUE(scheduler_stub->schedule_called());
// Check that the offliner callback got a response.
« no previous file with comments | « components/offline_pages/background/request_coordinator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698