Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Issue 9620010: Added Protector backup for Preferences. (Closed)

Created:
8 years, 9 months ago by Ivan Korotkov
Modified:
8 years, 9 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Added Protector backup for Preferences. BUG=114288 TEST=ProtectedPrefsWatcherTest.*; no user-visible changes Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126927

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Whitespace. #

Total comments: 20

Patch Set 4 : Addressed review comments, removed blacklist from extension ID list, added unittest. #

Total comments: 2

Patch Set 5 : Backup updated only for changed prefs. #

Patch Set 6 : Review fixes. #

Patch Set 7 : Fix clang compile. #

Patch Set 8 : Fix failures of unit-tests that call TestingProfile::SetPrefService(). #

Patch Set 9 : Typo fix. #

Patch Set 10 : Removed AddMissingEntries: backup initialized at once. #

Patch Set 11 : Reupload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+600 lines, -3 lines) Patch
M chrome/browser/extensions/extension_prefs.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 3 4 5 2 chunks +20 lines, -2 lines 0 comments Download
M chrome/browser/prefs/pref_set_observer.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/prefs/pref_set_observer.cc View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/protector/histograms.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/protector/histograms.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/protector/protected_prefs_watcher.h View 1 2 3 4 5 6 7 8 9 1 chunk +96 lines, -0 lines 0 comments Download
A chrome/browser/protector/protected_prefs_watcher.cc View 1 2 3 4 5 6 7 8 9 1 chunk +261 lines, -0 lines 0 comments Download
A chrome/browser/protector/protected_prefs_watcher_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +141 lines, -0 lines 0 comments Download
M chrome/browser/protector/protector_service.h View 1 2 3 4 5 5 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/protector/protector_service.cc View 1 2 3 4 5 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/protector/protector_service_factory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/protector/protector_service_factory.cc View 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Ivan Korotkov
PTAL This CL simply adds a signed 'backup' dictionary to Preferences that mirrors actual protected ...
8 years, 9 months ago (2012-03-07 17:56:15 UTC) #1
whywhat
http://codereview.chromium.org/9620010/diff/3001/chrome/browser/prefs/pref_set_observer.cc File chrome/browser/prefs/pref_set_observer.cc (right): http://codereview.chromium.org/9620010/diff/3001/chrome/browser/prefs/pref_set_observer.cc#newcode79 chrome/browser/prefs/pref_set_observer.cc:79: // Homepage: Nit: Style guide recommends ending comments with ...
8 years, 9 months ago (2012-03-07 18:53:30 UTC) #2
Ivan Korotkov
Added unit test and fixed extension IDs (no blacklist entries anymore). erikkay: PTAL at extensions/ ...
8 years, 9 months ago (2012-03-11 12:59:44 UTC) #3
Ivan Korotkov
erikkay: PTAL at extensions/
8 years, 9 months ago (2012-03-11 13:00:24 UTC) #4
whywhat
lgtm
8 years, 9 months ago (2012-03-11 13:02:08 UTC) #5
Mattias Nissler (ping if slow)
Didn't do a full pass. chrome/browser/prefs LGTM.
8 years, 9 months ago (2012-03-11 15:51:48 UTC) #6
Erik does not do reviews
+aa to review extensions code
8 years, 9 months ago (2012-03-11 20:22:30 UTC) #7
Aaron Boodman
LGTM w/ one nit below http://codereview.chromium.org/9620010/diff/6001/chrome/browser/extensions/extension_prefs.h File chrome/browser/extensions/extension_prefs.h (right): http://codereview.chromium.org/9620010/diff/6001/chrome/browser/extensions/extension_prefs.h#newcode127 chrome/browser/extensions/extension_prefs.h:127: static void GetExtensionsFrom(const base::DictionaryValue* ...
8 years, 9 months ago (2012-03-13 19:45:15 UTC) #8
Ivan Korotkov
Anton and Aaron, can you please take another look? ProtectedPrefsWatcher: only prefs that are changed ...
8 years, 9 months ago (2012-03-14 13:06:45 UTC) #9
whywhat
lgtm
8 years, 9 months ago (2012-03-14 13:35:41 UTC) #10
Aaron Boodman
still lgtm
8 years, 9 months ago (2012-03-14 18:28:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ivankr@chromium.org/9620010/17019
8 years, 9 months ago (2012-03-15 15:13:53 UTC) #12
commit-bot: I haz the power
8 years, 9 months ago (2012-03-15 16:53:50 UTC) #13
Change committed as 126927

Powered by Google App Engine
This is Rietveld 408576698