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

Unified Diff: components/omnibox/browser/shortcuts_provider_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_provider_unittest.cc
diff --git a/components/omnibox/browser/shortcuts_provider_unittest.cc b/components/omnibox/browser/shortcuts_provider_unittest.cc
index 1ec7fc4d22799c31fabf9715b39761835bee6460..96b2ebd54b8a3599da356608f777b22349f8fd93 100644
--- a/components/omnibox/browser/shortcuts_provider_unittest.cc
+++ b/components/omnibox/browser/shortcuts_provider_unittest.cc
@@ -186,8 +186,8 @@ class FakeAutocompleteProviderClient
: db_thread_("Test DB thread"), pool_owner_(3, "Background Pool") {
set_template_url_service(base::MakeUnique<TemplateURLService>(nullptr, 0));
if (history_dir_.CreateUniqueTempDir()) {
- history_service_ = history::CreateHistoryService(history_dir_.path(),
- true);
+ history_service_ =
+ history::CreateHistoryService(history_dir_.GetPath(), true);
}
db_thread_.Start();
« no previous file with comments | « components/omnibox/browser/shortcuts_database_unittest.cc ('k') | components/ownership/owner_key_util_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698