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

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: 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_unittest.cc
diff --git a/components/offline_pages/background/request_coordinator_unittest.cc b/components/offline_pages/background/request_coordinator_unittest.cc
index ca6b3632dbb3ea2ee7b89456ce828f73cd750d14..9ff737fac822ce06b5fae4e0256fff68e245f4ae 100644
--- a/components/offline_pages/background/request_coordinator_unittest.cc
+++ b/components/offline_pages/background/request_coordinator_unittest.cc
@@ -154,7 +154,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)));
@@ -168,7 +168,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.

Powered by Google App Engine
This is Rietveld 408576698