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

Unified Diff: components/omnibox/browser/history_quick_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/history_quick_provider_unittest.cc
diff --git a/components/omnibox/browser/history_quick_provider_unittest.cc b/components/omnibox/browser/history_quick_provider_unittest.cc
index 42ab128a69a1229cd9dbf24d1b2cc85b1ec5cc5e..0a556fd5c6cb5d644e061cc8132c4b76c4cdfe84 100644
--- a/components/omnibox/browser/history_quick_provider_unittest.cc
+++ b/components/omnibox/browser/history_quick_provider_unittest.cc
@@ -183,13 +183,13 @@ class FakeAutocompleteProviderClient : public MockAutocompleteProviderClient {
FakeAutocompleteProviderClient() : pool_owner_(3, "Background Pool") {
bookmark_model_ = bookmarks::TestBookmarkClient::CreateModel();
if (history_dir_.CreateUniqueTempDir()) {
- history_service_ = history::CreateHistoryService(
- history_dir_.path(), true);
+ history_service_ =
+ history::CreateHistoryService(history_dir_.GetPath(), true);
}
in_memory_url_index_.reset(new InMemoryURLIndex(
bookmark_model_.get(), history_service_.get(), nullptr,
- pool_owner_.pool().get(), history_dir_.path(), SchemeSet()));
+ pool_owner_.pool().get(), history_dir_.GetPath(), SchemeSet()));
in_memory_url_index_->Init();
}

Powered by Google App Engine
This is Rietveld 408576698