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

Issue 8564032: [Sync] The cryptographer should be able to handle empty or old nigori nodes. (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), Paweł Hajdan Jr.
Visibility:
Public.

Description

[Sync] The cryptographer should be able to handle empty or old nigori nodes. This includes never unsetting the encryption status of a type once it has been set. BUG=104218 TEST=unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110578

Patch Set 1 #

Patch Set 2 : Fix compile #

Total comments: 4

Patch Set 3 : Address comments #

Patch Set 4 : Fix test #

Total comments: 4

Patch Set 5 : Address comments. Fix diff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -12 lines) Patch
M chrome/browser/sync/util/cryptographer.h View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/sync/util/cryptographer.cc View 1 2 3 4 3 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/sync/util/cryptographer_unittest.cc View 1 2 3 4 2 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Nicolas Zea
9 years, 1 month ago (2011-11-14 23:40:35 UTC) #1
Nicolas Zea
ping!
9 years, 1 month ago (2011-11-16 19:45:47 UTC) #2
akalin
http://codereview.chromium.org/8564032/diff/4/chrome/browser/sync/util/cryptographer.cc File chrome/browser/sync/util/cryptographer.cc (right): http://codereview.chromium.org/8564032/diff/4/chrome/browser/sync/util/cryptographer.cc#newcode384 chrome/browser/sync/util/cryptographer.cc:384: void Cryptographer::SetEncryptedTypes( Rename this to "MergeEncryptedTypes" http://codereview.chromium.org/8564032/diff/4/chrome/browser/sync/util/cryptographer.cc#newcode386 chrome/browser/sync/util/cryptographer.cc:386: if ...
9 years, 1 month ago (2011-11-17 03:09:20 UTC) #3
Nicolas Zea
PTAL http://codereview.chromium.org/8564032/diff/4/chrome/browser/sync/util/cryptographer.cc File chrome/browser/sync/util/cryptographer.cc (right): http://codereview.chromium.org/8564032/diff/4/chrome/browser/sync/util/cryptographer.cc#newcode384 chrome/browser/sync/util/cryptographer.cc:384: void Cryptographer::SetEncryptedTypes( On 2011/11/17 03:09:20, akalin wrote: > ...
9 years, 1 month ago (2011-11-17 05:09:59 UTC) #4
akalin
LGTM, assuming you fix the diff http://codereview.chromium.org/8564032/diff/9001/chrome/browser/sync/util/cryptographer.h File chrome/browser/sync/util/cryptographer.h (left): http://codereview.chromium.org/8564032/diff/9001/chrome/browser/sync/util/cryptographer.h#oldcode193 chrome/browser/sync/util/cryptographer.h:193: // Changes the ...
9 years, 1 month ago (2011-11-17 11:29:18 UTC) #5
Nicolas Zea
Done. Committing once trybots go green. http://codereview.chromium.org/8564032/diff/9001/chrome/browser/sync/util/cryptographer.h File chrome/browser/sync/util/cryptographer.h (left): http://codereview.chromium.org/8564032/diff/9001/chrome/browser/sync/util/cryptographer.h#oldcode193 chrome/browser/sync/util/cryptographer.h:193: // Changes the ...
9 years, 1 month ago (2011-11-17 19:03:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/8564032/10004
9 years, 1 month ago (2011-11-17 21:05:56 UTC) #7
commit-bot: I haz the power
9 years, 1 month ago (2011-11-17 22:41:27 UTC) #8
Change committed as 110578

Powered by Google App Engine
This is Rietveld 408576698