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

Unified Diff: components/ntp_snippets/ntp_snippets_service_unittest.cc

Issue 2318033002: c/browser, c/common, components M-N: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Fix ItunesFileUtilTest Created 4 years, 3 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/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 c07776407b1899ac12736f96300ce2850172930b..03382b4b731ed3f70aff52df86d48963eb360e73 100644
--- a/components/ntp_snippets/ntp_snippets_service_unittest.cc
+++ b/components/ntp_snippets/ntp_snippets_service_unittest.cc
@@ -398,7 +398,7 @@ class NTPSnippetsServiceTest : public ::testing::Test {
observer_.get(), &category_factory_, utils_.pref_service(), nullptr,
"fr", &scheduler_, std::move(snippets_fetcher),
std::move(image_fetcher), /*image_decoder=*/nullptr,
- base::MakeUnique<NTPSnippetsDatabase>(database_dir_.path(),
+ base::MakeUnique<NTPSnippetsDatabase>(database_dir_.GetPath(),
task_runner),
base::MakeUnique<NTPSnippetsStatusService>(utils_.fake_signin_manager(),
utils_.pref_service()));

Powered by Google App Engine
This is Rietveld 408576698