|
Add a content_settings::Observer and make providers notify the host content settings map via the observer interface about content settings changes. The host content settings map now the single source for sending out CONTENT_SETTINGS_CHANGED notification.
BUG=TODO
TEST=host_content_settings_map_unittest.cc,
content_settings_policy_provider_unittest.cc,
content_settings_pref_provider_unittest.cc,
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92505
Total comments: 24
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+255 lines, -155 lines) |
Patch |
|
M |
chrome/browser/content_settings/content_settings_extension_provider.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -13 lines |
0 comments
|
Download
|
|
M |
chrome/browser/content_settings/content_settings_extension_provider.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -23 lines |
0 comments
|
Download
|
|
A |
chrome/browser/content_settings/content_settings_mock_observer.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/content_settings/content_settings_mock_observer.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/content_settings/content_settings_observable_provider.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/content_settings/content_settings_observable_provider.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/content_settings/content_settings_observer.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/content_settings/content_settings_policy_provider.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/content_settings/content_settings_policy_provider.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+7 lines, -22 lines |
0 comments
|
Download
|
|
M |
chrome/browser/content_settings/content_settings_policy_provider_unittest.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/content_settings/content_settings_pref_provider.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/content_settings/content_settings_pref_provider.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+12 lines, -29 lines |
0 comments
|
Download
|
|
M |
chrome/browser/content_settings/content_settings_pref_provider_unittest.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+18 lines, -33 lines |
0 comments
|
Download
|
|
M |
chrome/browser/content_settings/host_content_settings_map.h
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/content_settings/host_content_settings_map.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+30 lines, -15 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|