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

Unified Diff: components/omnibox/autocomplete_result_unittest.cc

Issue 628263004: [Android] Simplify logic for grabbing initial country-code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/autocomplete_result_unittest.cc
diff --git a/components/omnibox/autocomplete_result_unittest.cc b/components/omnibox/autocomplete_result_unittest.cc
index 24bdf776f92e00426ffa0b9aa8699f8b5b91020e..534831e884df246a77c299325f2ad224dee4544b 100644
--- a/components/omnibox/autocomplete_result_unittest.cc
+++ b/components/omnibox/autocomplete_result_unittest.cc
@@ -18,7 +18,6 @@
#include "components/omnibox/autocomplete_provider.h"
#include "components/omnibox/omnibox_field_trial.h"
#include "components/omnibox/test_scheme_classifier.h"
-#include "components/search_engines/template_url_prepopulate_data.h"
#include "components/search_engines/template_url_service.h"
#include "components/variations/entropy_provider.h"
#include "components/variations/variations_associated_data.h"
@@ -90,10 +89,6 @@ class AutocompleteResultTest : public testing::Test {
}
virtual void SetUp() override {
-#if defined(OS_ANDROID)
- TemplateURLPrepopulateData::InitCountryCode(
- std::string() /* unknown country code */);
-#endif
template_url_service_.reset(new TemplateURLService(NULL, 0));
template_url_service_->Load();
}
« no previous file with comments | « chrome/browser/search_engines/search_provider_install_data_unittest.cc ('k') | components/search_engines/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698