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

Unified Diff: chrome/android/sync_shell/chrome_main_delegate_chrome_sync_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
Index: chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc
diff --git a/chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc b/chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc
index eba89e60fa0a2e271c8c455aed8d2fc09a36f7a3..5016dc886573885b9b3e71ed3558704ea7452800 100644
--- a/chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc
+++ b/chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc
@@ -6,11 +6,8 @@
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
-#include "components/search_engines/template_url_prepopulate_data.h"
#include "sync/test/fake_server/android/fake_server_helper_android.h"
-static const char kDefaultCountryCode[] = "US";
-
ChromeMainDelegateAndroid* ChromeMainDelegateAndroid::Create() {
return new ChromeMainDelegateChromeSyncShellAndroid();
}
@@ -32,7 +29,6 @@ ChromeMainDelegateChromeSyncShellAndroid::RegisterApplicationNativeMethods(
bool ChromeMainDelegateChromeSyncShellAndroid::BasicStartupComplete(
int* exit_code) {
- TemplateURLPrepopulateData::InitCountryCode(kDefaultCountryCode);
return ChromeMainDelegateAndroid::BasicStartupComplete(exit_code);
}

Powered by Google App Engine
This is Rietveld 408576698