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

Unified Diff: components/history/core/browser/top_sites_impl_unittest.cc

Issue 2317003002: //chrome/browser and //components F-L: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased 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/history/core/browser/top_sites_impl_unittest.cc
diff --git a/components/history/core/browser/top_sites_impl_unittest.cc b/components/history/core/browser/top_sites_impl_unittest.cc
index dc0715d493605ad8faa7b28f4f81d3f0e8aea25f..96ae3c1e47b7cecd620a244ae366904922626ab6 100644
--- a/components/history/core/browser/top_sites_impl_unittest.cc
+++ b/components/history/core/browser/top_sites_impl_unittest.cc
@@ -145,7 +145,7 @@ class TopSitesImplTest : public HistoryUnitTestBase {
history_service_.reset(
new HistoryService(nullptr, std::unique_ptr<VisitDelegate>()));
ASSERT_TRUE(history_service_->Init(
- TestHistoryDatabaseParamsForPath(scoped_temp_dir_.path())));
+ TestHistoryDatabaseParamsForPath(scoped_temp_dir_.GetPath())));
ResetTopSites();
WaitTopSitesLoaded();
}
@@ -316,7 +316,7 @@ class TopSitesImplTest : public HistoryUnitTestBase {
top_sites_impl_ = new TopSitesImpl(
pref_service_.get(), history_service_.get(),
prepopulated_pages, base::Bind(MockCanAddURLToHistory));
- top_sites_impl_->Init(scoped_temp_dir_.path().Append(kTopSitesFilename),
+ top_sites_impl_->Init(scoped_temp_dir_.GetPath().Append(kTopSitesFilename),
message_loop_.task_runner());
}

Powered by Google App Engine
This is Rietveld 408576698