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

Issue 10702040: Cleanup & tests for the mac startup pref migration. (Closed)

Created:
8 years, 5 months ago by marja
Modified:
8 years, 5 months ago
Reviewers:
Ivan Korotkov, battre
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Cleanup & tests for the mac startup pref migration. BUG=142958 TEST=SessionStartupPref.MacDefaultStartupPrefMigration Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145325

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : oops #

Total comments: 2

Patch Set 4 : Tests and protector fixes. #

Patch Set 5 : reverting protector changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -5 lines) Patch
M chrome/browser/prefs/session_startup_pref.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/prefs/session_startup_pref_unittest.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
marja
Hi battre & ivankr, This adds a test for the Mac default startup pref migration, ...
8 years, 5 months ago (2012-06-29 15:05:22 UTC) #1
battre
lgtm
8 years, 5 months ago (2012-06-29 15:32:32 UTC) #2
Ivan Korotkov
This one's actually not so simple. You'd have to increment the current version in ProtectedPrefsWatcher ...
8 years, 5 months ago (2012-06-29 16:33:56 UTC) #3
marja
I added protector.SessionStartupPref.testMacSessionStartupDefaultPrefMigration. However, it will only pass on mac lion which has the "restore ...
8 years, 5 months ago (2012-07-03 13:36:49 UTC) #4
Ivan Korotkov
It probably makes sense not to do this migration at all: (1) if kRestoreOnStartup is ...
8 years, 5 months ago (2012-07-03 15:02:11 UTC) #5
marja
Ok, the current version doesn't do the migration in the protector, and doesn't add protector ...
8 years, 5 months ago (2012-07-03 16:17:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/10702040/3005
8 years, 5 months ago (2012-07-03 16:17:51 UTC) #7
commit-bot: I haz the power
8 years, 5 months ago (2012-07-03 17:26:12 UTC) #8
Change committed as 145325

Powered by Google App Engine
This is Rietveld 408576698