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

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

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 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 03407b408c1698c29a174d5563bc7781ca2e13f1..31b59d97b719e8e84f07bff265a39f5b4be9324b 100644
--- a/components/omnibox/browser/shortcuts_backend_unittest.cc
+++ b/components/omnibox/browser/shortcuts_backend_unittest.cc
@@ -110,10 +110,8 @@ 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(), std::string(), true);
- }
+ if (profile_dir_.CreateUniqueTempDir())
+ history_service_ = history::CreateHistoryService(profile_dir_.path(), true);
ASSERT_TRUE(history_service_);
db_thread_.Start();
« no previous file with comments | « components/omnibox/browser/search_suggestion_parser.cc ('k') | components/omnibox/browser/shortcuts_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698