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

Unified Diff: components/ntp_snippets/ntp_snippets_service_unittest.cc

Issue 1737563003: [NTP Snippets] Persist the set of snippets in a pref (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snippets_merge
Patch Set: noyau review Created 4 years, 10 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/ntp_snippets/ntp_snippets_service.cc ('k') | components/ntp_snippets/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/ntp_snippets_service_unittest.cc
diff --git a/components/ntp_snippets/ntp_snippets_service_unittest.cc b/components/ntp_snippets/ntp_snippets_service_unittest.cc
index c845b1b89aa95e8b57c81925786924981e5135a0..f667d0102a4bfed865830901bb4fe25ffde037ef 100644
--- a/components/ntp_snippets/ntp_snippets_service_unittest.cc
+++ b/components/ntp_snippets/ntp_snippets_service_unittest.cc
@@ -60,11 +60,11 @@ class NTPSnippetsServiceTest : public testing::Test {
FakeSigninManagerBase* signin_manager = new FakeSigninManagerBase(
signin_client_.get(), account_tracker_.get());
- scoped_ptr<NTPSnippetsService> service(
- new NTPSnippetsService(task_runner.get(), std::string("fr"), nullptr,
- make_scoped_ptr(new NTPSnippetsFetcher(task_runner.get(),
- signin_manager, token_service, request_context_getter,
- base::FilePath()))));
+ scoped_ptr<NTPSnippetsService> service(new NTPSnippetsService(
+ nullptr, task_runner.get(), std::string("fr"), nullptr,
+ make_scoped_ptr(new NTPSnippetsFetcher(
+ task_runner.get(), signin_manager, token_service,
+ request_context_getter, base::FilePath()))));
return service;
}
« no previous file with comments | « components/ntp_snippets/ntp_snippets_service.cc ('k') | components/ntp_snippets/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698