|
|
Pass in the HostContentSettingsMap to the CookieModalDialog so IsValid can make its decision. Before, it used the TabContents to get the profile to get the map, but this was incorrect because the current tab isn't necessarily from the same profile as the original request.
As long as we have the HostContentSettingsMap, we might as well handle "remember" in CookieModalDialog.
This bug exists in 4.1.
TEST=none
BUG=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=39558
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+100 lines, -94 lines) |
Patch |
 |
M |
chrome/browser/cookie_modal_dialog.h
|
View
|
1
2
3
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/cookie_modal_dialog.cc
|
View
|
1
2
3
4
|
4 chunks |
+25 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cookie_prompt_modal_dialog_delegate.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/in_process_webkit/dom_storage_permission_request.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/in_process_webkit/dom_storage_permission_request.cc
|
View
|
1
2
3
|
1 chunk |
+14 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/message_box_handler.h
|
View
|
1
2
3
|
4 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/message_box_handler.cc
|
View
|
1
2
3
|
1 chunk |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_cookie_policy.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_cookie_policy.cc
|
View
|
1
2
3
|
2 chunks |
+16 lines, -25 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/database_permission_request.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/database_permission_request.cc
|
View
|
1
2
3
|
2 chunks |
+10 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/views/cookie_prompt_view.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/views/cookie_prompt_view.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|