|
|
Don't force non-session only cookies to be session only cookies, instead delete on shutdown
this is more consistent with how we treat other web site data types
All storage backends except for cookies use the SpecialStoragePolicy to decide what data to delete and what to keep. Also, since they commonly don't have a session only notion, they will delete the data on shutdown.
This CL unifies the way content settings are applied to storage systems by passing a SpecialStoragePolicy to the cookie store backend, and delete cookies on shutdown.
BUG= 129349
TEST=SQLitePersistentCookieStoreTest.TestSpecialStoragePolicy
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139544
Total comments: 8
Total comments: 7
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+565 lines, -58 lines) |
Patch |
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/content_settings/host_content_settings_map.h
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/content_settings/host_content_settings_map.cc
|
View
|
1
2
3
4
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_network_delegate.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/net/clear_on_exit_policy.h
|
View
|
1
2
3
4
5
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/net/clear_on_exit_policy.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/net/clear_on_exit_policy_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/sqlite_persistent_cookie_store.h
|
View
|
1
2
3
4
|
1 chunk |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/sqlite_persistent_cookie_store.cc
|
View
|
1
2
3
4
5
6
7
|
10 chunks |
+74 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/sqlite_persistent_cookie_store_perftest.cc
|
View
|
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/sqlite_persistent_cookie_store_unittest.cc
|
View
|
1
2
3
4
|
20 chunks |
+100 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/sqlite_server_bound_cert_store.h
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/net/sqlite_server_bound_cert_store.cc
|
View
|
1
2
3
4
|
5 chunks |
+65 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+113 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl_io_data.h
|
View
|
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl_io_data.cc
|
View
|
1
2
3
4
|
8 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_manager.cc
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/safe_browsing_service.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/functional/cookies.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|