|
[Android] Simplify logic for grabbing initial country-code.
The old way involved start-up code reading a value and setting a global
in template_url_prepopulate_data. Since the value can be computed
on-demand from device-information, just fetch it as needed instead.
BUG= 169106
TBR=thakis
Committed: https://crrev.com/38b46138112e7077a41ab8dd4815a22a15ff0527
Cr-Commit-Position: refs/heads/master@{#300317}
Total comments: 14
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+107 lines, -71 lines) |
Patch |
![](/static/closedtriangle.gif) |
M |
android_webview/browser/aw_browser_main_parts.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
android_webview/browser/aw_content_browser_client.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
android_webview/browser/aw_form_database_service.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
android_webview/native/aw_contents.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
base/BUILD.gn
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
base/android/base_jni_registrar.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
base/android/java/src/org/chromium/base/BaseSwitches.java
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
base/android/java/src/org/chromium/base/LocaleUtils.java
|
View
|
1
2
3
4
5
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
base/android/locale_utils.h
|
View
|
1
2
3
4
5
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
base/android/locale_utils.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
base/base.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
base/base.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/android/shell/chrome_main_delegate_chrome_shell_android.cc
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/browser/search_engines/search_provider_install_data_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
components/omnibox/autocomplete_result_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
components/search_engines/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
components/search_engines/template_url_prepopulate_data.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
components/search_engines/template_url_prepopulate_data.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -16 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
ui/base/l10n/l10n_util.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
ui/base/l10n/l10n_util_android.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
ui/base/l10n/l10n_util_android.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
Total messages: 24 (5 generated)
|