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

Unified Diff: components/ntp_snippets/ntp_snippets_service_unittest.cc

Issue 2047713002: [NTP Snippets] Cache images in a LevelDB (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@protodb_get
Patch Set: add TODOs Created 4 years, 6 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/proto/ntp_snippets.proto » ('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 e55dc70720b63c10ca0f06ec288977e854754d48..fac43c445ef9a5c64085345bbd062289c8f7e571 100644
--- a/components/ntp_snippets/ntp_snippets_service_unittest.cc
+++ b/components/ntp_snippets/ntp_snippets_service_unittest.cc
@@ -21,6 +21,7 @@
#include "base/test/histogram_tester.h"
#include "base/threading/thread_task_runner_handle.h"
#include "base/time/time.h"
+#include "components/image_fetcher/image_decoder.h"
#include "components/image_fetcher/image_fetcher.h"
#include "components/ntp_snippets/ntp_snippet.h"
#include "components/ntp_snippets/ntp_snippets_database.h"
@@ -326,7 +327,7 @@ class NTPSnippetsServiceTest : public testing::Test {
fake_signin_manager_.get(), fake_token_service_.get(),
std::move(request_context_getter), base::Bind(&ParseJson),
/*is_stable_channel=*/true)),
- /*image_fetcher=*/nullptr,
+ /*image_fetcher=*/nullptr, /*image_decoder=*/nullptr,
base::WrapUnique(new NTPSnippetsDatabase(database_dir_.path(),
task_runner))));
if (enabled)
« no previous file with comments | « components/ntp_snippets/ntp_snippets_service.cc ('k') | components/ntp_snippets/proto/ntp_snippets.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698