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

Issue 8416008: [Sync] Fix dcheck when setting sync encryption. (Closed)

Created:
9 years, 1 month ago by Nicolas Zea
Modified:
9 years, 1 month ago
Reviewers:
akalin
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing)
Visibility:
Public.

Description

[Sync] Fix dcheck when setting sync encryption. It's valid to call SetEncryptEverything after turning on encryption as long as you're not trying to turn it off. BUG=none TEST=set a custom passphrase after turning on encryption Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107650

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M chrome/browser/sync/profile_sync_service.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nicolas Zea
9 years, 1 month ago (2011-10-27 20:02:12 UTC) #1
akalin
LGTM http://codereview.chromium.org/8416008/diff/1/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/8416008/diff/1/chrome/browser/sync/profile_sync_service.cc#newcode1343 chrome/browser/sync/profile_sync_service.cc:1343: DCHECK(encrypt_everything || !encrypt_everything_); this DCHECK should probably go ...
9 years, 1 month ago (2011-10-27 20:11:33 UTC) #2
Nicolas Zea
Done http://codereview.chromium.org/8416008/diff/1/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/8416008/diff/1/chrome/browser/sync/profile_sync_service.cc#newcode1343 chrome/browser/sync/profile_sync_service.cc:1343: DCHECK(encrypt_everything || !encrypt_everything_); On 2011/10/27 20:11:34, akalin wrote: ...
9 years, 1 month ago (2011-10-27 20:54:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/8416008/4001
9 years, 1 month ago (2011-10-27 20:54:25 UTC) #4
commit-bot: I haz the power
Try job failure for 8416008-4001 (retry) on linux_rel for step "ui_tests". It's a second try, ...
9 years, 1 month ago (2011-10-27 21:49:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/8416008/4001
9 years, 1 month ago (2011-10-27 22:32:11 UTC) #6
commit-bot: I haz the power
9 years, 1 month ago (2011-10-27 23:31:55 UTC) #7
Change committed as 107650

Powered by Google App Engine
This is Rietveld 408576698