| 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..ab506f0aab026eeacf09e13283d31e26ba100f8b 100644
|
| --- a/components/offline_pages/background/request_coordinator_unittest.cc
|
| +++ b/components/offline_pages/background/request_coordinator_unittest.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <memory>
|
| #include <utility>
|
| +#include <vector>
|
|
|
| #include "base/bind.h"
|
| #include "base/location.h"
|
| @@ -55,7 +56,8 @@ class OfflinerStub : public Offliner {
|
| const CompletionCallback& callback) override {
|
| // Post the callback on the run loop.
|
| base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| - FROM_HERE, base::Bind(callback, request, Offliner::SAVED));
|
| + FROM_HERE,
|
| + base::Bind(callback, request, Offliner::RequestStatus::SAVED));
|
| return true;
|
| }
|
|
|
| @@ -172,7 +174,8 @@ TEST_F(RequestCoordinatorTest, SavePageLater) {
|
| EXPECT_TRUE(scheduler_stub->schedule_called());
|
|
|
| // Check that the offliner callback got a response.
|
| - EXPECT_EQ(Offliner::SAVED, coordinator()->last_offlining_status());
|
| + EXPECT_EQ(Offliner::RequestStatus::SAVED,
|
| + coordinator()->last_offlining_status());
|
|
|
| // TODO(petewil): Expect that the scheduler got notified.
|
| }
|
|
|