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

Unified Diff: chrome/browser/android/locale/special_locale_handler_unittest.cc

Issue 2497853002: Create TemplateUrlData to base::Dictionary utility functions (Closed)
Patch Set: Fixed android compilation Created 4 years, 1 month 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
« no previous file with comments | « no previous file | components/search_engines/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/locale/special_locale_handler_unittest.cc
diff --git a/chrome/browser/android/locale/special_locale_handler_unittest.cc b/chrome/browser/android/locale/special_locale_handler_unittest.cc
index 181204fcc082eb2a2b281740ef83e55938e8c38f..81019fc2ff4e060fcf044c90bad46072dbb53061 100644
--- a/chrome/browser/android/locale/special_locale_handler_unittest.cc
+++ b/chrome/browser/android/locale/special_locale_handler_unittest.cc
@@ -10,6 +10,7 @@
#include "chrome/test/base/testing_profile.h"
#include "components/search_engines/prepopulated_engines.h"
#include "components/search_engines/template_url.h"
+#include "components/search_engines/template_url_data_util.h"
#include "components/search_engines/template_url_prepopulate_data.h"
#include "components/search_engines/template_url_service.h"
#include "content/public/test/test_browser_thread_bundle.h"
@@ -28,12 +29,10 @@ class MockSpecialLocaleHandler : public SpecialLocaleHandler {
std::vector<std::unique_ptr<TemplateURLData>> GetLocalPrepopulatedEngines(
Profile* profile) override {
std::vector<std::unique_ptr<TemplateURLData>> result;
- result.push_back(
- TemplateURLPrepopulateData::MakeTemplateURLDataFromPrepopulatedEngine(
- TemplateURLPrepopulateData::so_360));
- result.push_back(
- TemplateURLPrepopulateData::MakeTemplateURLDataFromPrepopulatedEngine(
- TemplateURLPrepopulateData::naver));
+ result.push_back(TemplateURLDataFromPrepopulatedEngine(
+ TemplateURLPrepopulateData::so_360));
+ result.push_back(TemplateURLDataFromPrepopulatedEngine(
+ TemplateURLPrepopulateData::naver));
return result;
}
« no previous file with comments | « no previous file | components/search_engines/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698