|
Implement HttpUserAgentSettings delegate for Android WebView
Instead of using a static accept language and user agent,
we set a HttpUserAgentSettings delegate to allow those
values to change dynamically.
BUG= 35049
Committed: https://crrev.com/67e9830ff10d26bf8840598dde988e4af9581fde
Cr-Commit-Position: refs/heads/master@{#341931}
Total comments: 16
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+302 lines, -11 lines) |
Patch |
|
M |
android_webview/android_webview.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/browser/aw_content_browser_client.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
|
A |
android_webview/browser/aw_locale_manager.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/browser/jni_dependency_factory.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
android_webview/browser/net/aw_http_user_agent_settings.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
android_webview/browser/net/aw_http_user_agent_settings.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/browser/net/aw_url_request_context_getter.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/browser/net/aw_url_request_context_getter.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
android_webview/java/src/org/chromium/android_webview/AwContents.java
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+18 lines, -1 line |
0 comments
|
Download
|
|
A |
android_webview/javatests/src/org/chromium/android_webview/test/AcceptLanguageTest.java
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/lib/main/aw_main_delegate.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/lib/main/aw_main_delegate.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/native/aw_contents.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/native/aw_contents.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
A |
android_webview/native/aw_locale_manager_impl.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
|
A |
android_webview/native/aw_locale_manager_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/native/webview_native.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/android/java/src/org/chromium/base/LocaleUtils.java
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
Total messages: 37 (8 generated)
|