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

Issue 10170046: [protector] Bump Preferences backup version to 3 to mitigate the startup prefs migration. (Closed)

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

Description

[protector] Bump Preferences backup version to 3 to mitigate the startup prefs migration. Since r134147 (https://chromiumcodereview.appspot.com/10213009), startup prefs migration is more complex and may trigger the protector for users on M19. BUG=122936 TEST=ProtectedPrefsWatcherTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134698

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -1 line) Patch
M chrome/browser/protector/protected_prefs_watcher.cc View 2 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/protector/protected_prefs_watcher_unittest.cc View 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/browser/protector/protector_service.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/protector/protector_service.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Ivan Korotkov
Hi Mattias and Tyler, recent change to startup prefs migration (https://chromiumcodereview.appspot.com/10213009) causes a Protector's false ...
8 years, 7 months ago (2012-04-28 12:30:44 UTC) #1
Tyler Breisacher (Chromium)
Good point. I didn't think of this because I was only thinking about users on ...
8 years, 7 months ago (2012-04-30 17:59:38 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ivankr@chromium.org/10170046/1
8 years, 7 months ago (2012-05-01 12:39:05 UTC) #3
commit-bot: I haz the power
Change committed as 134698
8 years, 7 months ago (2012-05-01 14:10:36 UTC) #4
Mattias Nissler (ping if slow)
On 2012/05/01 14:10:36, I haz the power (commit-bot) wrote: > Change committed as 134698 Just ...
8 years, 7 months ago (2012-05-02 09:28:00 UTC) #5
Ivan Korotkov
8 years, 7 months ago (2012-05-02 10:26:15 UTC) #6
This one is different because the migration step happens explicitly before
ProtectorService starts observing pref changes. It could be done after, but then
one could externally change Preferences to a pre-migrated state, migration would
happen and mask the fact of a change.
The same way Web Data migrations happen before checking for search engine
changes.

Powered by Google App Engine
This is Rietveld 408576698