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

Unified Diff: chrome/android/shell/chrome_main_delegate_chrome_shell_android.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
« no previous file with comments | « base/base.gypi ('k') | chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/shell/chrome_main_delegate_chrome_shell_android.cc
diff --git a/chrome/android/shell/chrome_main_delegate_chrome_shell_android.cc b/chrome/android/shell/chrome_main_delegate_chrome_shell_android.cc
index 6e9b7c3a1177fd0ebef32b0775cce7d222fbaaae..76125e6e0bcb986132b84a38a9c85fbc1575e82e 100644
--- a/chrome/android/shell/chrome_main_delegate_chrome_shell_android.cc
+++ b/chrome/android/shell/chrome_main_delegate_chrome_shell_android.cc
@@ -6,9 +6,6 @@
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
-#include "components/search_engines/template_url_prepopulate_data.h"
-
-static const char kDefaultCountryCode[] = "US";
ChromeMainDelegateAndroid* ChromeMainDelegateAndroid::Create() {
return new ChromeMainDelegateChromeShellAndroid();
@@ -22,7 +19,6 @@ ChromeMainDelegateChromeShellAndroid::~ChromeMainDelegateChromeShellAndroid() {
bool ChromeMainDelegateChromeShellAndroid::BasicStartupComplete(
int* exit_code) {
- TemplateURLPrepopulateData::InitCountryCode(kDefaultCountryCode);
return ChromeMainDelegateAndroid::BasicStartupComplete(exit_code);
}
« no previous file with comments | « base/base.gypi ('k') | chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698