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

Unified Diff: components/omnibox/browser/shortcuts_backend_unittest.cc

Issue 2317123002: c/browser, c/common, components O-P: 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/omnibox/browser/shortcuts_backend_unittest.cc
diff --git a/components/omnibox/browser/shortcuts_backend_unittest.cc b/components/omnibox/browser/shortcuts_backend_unittest.cc
index bbeae7970206592654e627d0e3a2c560e80e1041..fad5ae7c80be550551544b9b2a401a23ae786c83 100644
--- a/components/omnibox/browser/shortcuts_backend_unittest.cc
+++ b/components/omnibox/browser/shortcuts_backend_unittest.cc
@@ -112,12 +112,13 @@ void ShortcutsBackendTest::SetSearchProvider() {
void ShortcutsBackendTest::SetUp() {
template_url_service_.reset(new TemplateURLService(nullptr, 0));
if (profile_dir_.CreateUniqueTempDir())
- history_service_ = history::CreateHistoryService(profile_dir_.path(), true);
+ history_service_ =
+ history::CreateHistoryService(profile_dir_.GetPath(), true);
ASSERT_TRUE(history_service_);
db_thread_.Start();
base::FilePath shortcuts_database_path =
- profile_dir_.path().Append(kShortcutsDatabaseName);
+ profile_dir_.GetPath().Append(kShortcutsDatabaseName);
backend_ = new ShortcutsBackend(
template_url_service_.get(), base::MakeUnique<SearchTermsData>(),
history_service_.get(), db_thread_.task_runner(), shortcuts_database_path,
« no previous file with comments | « components/omnibox/browser/in_memory_url_index_unittest.cc ('k') | components/omnibox/browser/shortcuts_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698