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

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

Issue 2011913002: Revert of PrerenderingLoader initial integration with PrerenderManager/PrerenderHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.cc ('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..ca6b3632dbb3ea2ee7b89456ce828f73cd750d14 100644
--- a/components/offline_pages/background/request_coordinator_unittest.cc
+++ b/components/offline_pages/background/request_coordinator_unittest.cc
@@ -6,7 +6,6 @@
#include <memory>
#include <utility>
-#include <vector>
#include "base/bind.h"
#include "base/location.h"
@@ -56,8 +55,7 @@
const CompletionCallback& callback) override {
// Post the callback on the run loop.
base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE,
- base::Bind(callback, request, Offliner::RequestStatus::SAVED));
+ FROM_HERE, base::Bind(callback, request, Offliner::SAVED));
return true;
}
@@ -174,8 +172,7 @@
EXPECT_TRUE(scheduler_stub->schedule_called());
// Check that the offliner callback got a response.
- EXPECT_EQ(Offliner::RequestStatus::SAVED,
- coordinator()->last_offlining_status());
+ EXPECT_EQ(Offliner::SAVED, coordinator()->last_offlining_status());
// TODO(petewil): Expect that the scheduler got notified.
}
« no previous file with comments | « components/offline_pages/background/request_coordinator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698