|
Fixed regression: various preferences were not persisted when changed from incognito window
This CL renames the OverlayPrefStore to an IncognitoPrefStore. This IncognitoPrefStore stores write operations in memory and prevents persisting them to the user prefs file. The CL also blacklists two preferences from being stored in the in-memory IncognitoPrefStore to fix the regressions mentioned in the bugs.
BUG= 87191, 84472
TEST=see bug descriptions
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92581
Total comments: 12
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+403 lines, -354 lines) |
Patch |
|
M |
chrome/browser/content_settings/content_settings_pref_provider_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/configuration_policy_pref_store.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
A + |
chrome/browser/prefs/incognito_user_pref_store.h
|
View
|
1
|
3 chunks |
+16 lines, -10 lines |
0 comments
|
Download
|
|
A |
chrome/browser/prefs/incognito_user_pref_store.cc
|
View
|
1
|
1 chunk |
+152 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/prefs/incognito_user_pref_store_unittest.cc
|
View
|
1
2
|
1 chunk |
+217 lines, -0 lines |
0 comments
|
Download
|
|
D |
chrome/browser/prefs/overlay_persistent_pref_store.h
|
View
|
|
1 chunk |
+0 lines, -65 lines |
0 comments
|
Download
|
|
D |
chrome/browser/prefs/overlay_persistent_pref_store.cc
|
View
|
|
1 chunk |
+0 lines, -120 lines |
0 comments
|
Download
|
|
D |
chrome/browser/prefs/overlay_persistent_pref_store_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -143 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/pref_service.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/json_pref_store.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/pref_names.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/common/pref_store.h
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|