|
Add info about user agent overrides to WebContents
* NavigationEntries store booleans indicating whether they should be using
an overridden user agent instead of the regular one.
* WebContents stores a user agent override string that will (in a later CL)
be sent to the renderer whenever the user agent needs to be overridden
for a navigation entry.
* Adds the requisite framework for saving and restoring this data from disk.
Part of upstreaming b/5119921, tracked in b/6272286
BUG= 112923
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136683
Total comments: 2
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+229 lines, -8 lines) |
Patch |
|
M |
chrome/browser/sessions/base_session_service.h
|
View
|
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/base_session_service.cc
|
View
|
1
2
|
4 chunks |
+42 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/session_service.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/session_service.cc
|
View
|
1
2
3
|
6 chunks |
+37 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/session_service_test_helper.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/session_service_test_helper.cc
|
View
|
1
2
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/session_service_unittest.cc
|
View
|
1
2
|
3 chunks |
+29 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/session_types.h
|
View
|
1
2
3
|
3 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/session_types.cc
|
View
|
1
2
|
6 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/tab_restore_service.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sessions/tab_restore_service.cc
|
View
|
|
4 chunks |
+24 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/web_contents/navigation_entry_impl.h
|
View
|
1
2
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/navigation_entry_impl.cc
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/navigation_entry_impl_unittest.cc
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/navigation_entry.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/web_contents.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|