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

Unified Diff: components/offline_pages/core/prefetch/prefetch_service_impl_unittest.cc

Issue 2864293003: [Offline Pages] Add a GCMAppHandler for offline page prefetch. (Closed)
Patch Set: Move Content Suggestions Observer to //components/offline_pages/core and modify lifetime management Created 3 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/core/prefetch/prefetch_service_impl_unittest.cc
diff --git a/components/offline_pages/core/prefetch/prefetch_service_impl_unittest.cc b/components/offline_pages/core/prefetch/prefetch_service_impl_unittest.cc
index f2a782dc80bef32dc23fc61c138d5c0034c1788b..5dfee7429616b7f013a645adecd6220fb7b90e62 100644
--- a/components/offline_pages/core/prefetch/prefetch_service_impl_unittest.cc
+++ b/components/offline_pages/core/prefetch/prefetch_service_impl_unittest.cc
@@ -11,7 +11,7 @@
namespace offline_pages {
TEST(PrefetchServiceTest, ServiceDoesNotCrash) {
- PrefetchServiceImpl service;
+ PrefetchServiceImpl service(nullptr);
service.AddCandidatePrefetchURLs(std::vector<PrefetchService::PrefetchURL>());
service.RemoveAllUnprocessedPrefetchURLs(kSuggestedArticlesNamespace);

Powered by Google App Engine
This is Rietveld 408576698