|
|
More progress towards removing content settings code from the content layer. We can't use CookiePolicy anymore since, being in the network layer, we can't give it render_process_id/render_view_id, which are needed to put up the content settings UI. Instead of the networking code calling CookiePolicy then calling the delegate (ResourceDispatcherHost) to inform it if something is blocked, we directly ask the delegate if something is allowed. ResourceDispatcherHost then calls the embedder, and passes along the IDs to identify the tab. In the next change, I'll use this mechansim in RenderMessageFilter and remove the CookiePolicy class.
BUG= 76793
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84881
Total comments: 15
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+356 lines, -297 lines) |
Patch |
 |
M |
chrome/browser/chrome_content_browser_client.h
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
4
|
2 chunks |
+80 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_manager.h
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_manager.cc
|
View
|
1
2
3
4
|
5 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_util.h
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_util.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/save_file_manager.h
|
View
|
1
2
3
4
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/save_file_manager.cc
|
View
|
1
2
3
4
|
4 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/save_package.h
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/save_package.cc
|
View
|
1
2
3
4
|
3 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/user_script_listener_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/appcache/chrome_appcache_service.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/content_browser_client.h
|
View
|
1
2
3
4
|
2 chunks |
+25 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/content_browser_client.cc
|
View
|
1
2
3
4
|
1 chunk |
+22 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_message_filter.h
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_message_filter.cc
|
View
|
1
2
3
4
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/resource_dispatcher_host.h
|
View
|
1
2
3
4
|
5 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/resource_dispatcher_host.cc
|
View
|
1
2
3
4
|
9 chunks |
+33 lines, -28 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/resource_dispatcher_host_request_info.h
|
View
|
1
2
3
4
|
4 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/resource_dispatcher_host_request_info.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/resource_queue_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/base/cookie_monster.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/url_request/url_request.h
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_http_job.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_http_job.cc
|
View
|
1
2
3
4
|
4 chunks |
+46 lines, -77 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_test_util.h
|
View
|
1
2
3
4
|
6 chunks |
+18 lines, -34 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_test_util.cc
|
View
|
1
2
3
4
|
3 chunks |
+23 lines, -34 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_unittest.cc
|
View
|
1
2
3
4
|
10 chunks |
+5 lines, -25 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|