|
Created web::UserAgentType.
Previously, NavigationItems contained a bool denoting whether a
desktop user agent is used. However, the user agent as a concept does
not apply to app-specific URLs, which are not loaded using HTTP
requests. This CL introduces a UserAgentType enum, which contains the
values NONE, MOBILE, and DESKTOP in order to differentiate between
app-specific navigations and those using mobile/desktop user agents.
This should assist with logic pertaining to whether to expose the
option to use the desktop/mobile user agent, as app-specific URLs are
handled by the enum type.
BUG=none
Review-Url: https://codereview.chromium.org/2705293014
Cr-Commit-Position: refs/heads/master@{#454426}
Committed: https://chromium.googlesource.com/chromium/src/+/d79e11f6225265fcf1d5884b969796a0377dee8a
Total comments: 10
Total comments: 21
Total comments: 5
Total comments: 10
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+338 lines, -80 lines) |
Patch |
|
M |
ios/chrome/browser/invalidation/ios_chrome_profile_invalidation_provider_factory.mm
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ios/chrome/browser/ios_chrome_io_thread.mm
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ios/chrome/browser/net/ios_chrome_http_user_agent_settings.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ios/chrome/browser/tabs/tab.mm
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ios/chrome/browser/ui/webui/version_ui.mm
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
ios/chrome/browser/ui/webui/web_ui_egtest.mm
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ios/chrome/browser/web/chrome_web_client.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ios/chrome/browser/web/chrome_web_client.mm
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
ios/chrome/browser/web/chrome_web_client_unittest.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ios/web/BUILD.gn
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ios/web/navigation/crw_navigation_item_storage_unittest.mm
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
ios/web/navigation/crw_session_controller.mm
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
ios/web/navigation/crw_session_entry.mm
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
ios/web/navigation/crw_session_entry_unittest.mm
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
ios/web/navigation/navigation_item_impl.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ios/web/navigation/navigation_item_impl.mm
|
View
|
1
2
3
4
5
|
4 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
ios/web/navigation/navigation_item_storage_builder.mm
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ios/web/navigation/navigation_item_storage_test_util.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ios/web/navigation/navigation_manager_impl.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
ios/web/navigation/navigation_manager_impl.mm
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+56 lines, -10 lines |
0 comments
|
Download
|
|
M |
ios/web/navigation/navigation_manager_impl_unittest.mm
|
View
|
1
2
3
4
5
6
|
2 chunks |
+85 lines, -1 line |
0 comments
|
Download
|
|
M |
ios/web/public/crw_navigation_item_storage.h
|
View
|
1
2
3
4
|
4 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
|
M |
ios/web/public/crw_navigation_item_storage.mm
|
View
|
|
7 chunks |
+30 lines, -7 lines |
0 comments
|
Download
|
|
M |
ios/web/public/navigation_item.h
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
ios/web/public/user_agent.h
|
View
|
1
2
3
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
ios/web/public/user_agent.mm
|
View
|
|
2 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
|
A |
ios/web/public/user_agent_unittest.mm
|
View
|
1
2
3
4
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
M |
ios/web/public/web_client.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ios/web/public/web_client.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ios/web/shell/shell_url_request_context_getter.mm
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ios/web/shell/shell_web_client.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ios/web/shell/shell_web_client.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ios/web/web_state/ui/crw_web_controller.mm
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
ios/web/web_state/web_view_internal_creation_util.mm
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
ios/web_view/internal/web_view_url_request_context_getter.mm
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ios/web_view/internal/web_view_web_client.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ios/web_view/internal/web_view_web_client.mm
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 30 (9 generated)
|