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

Issue 7878005: [Sync] Fix encrypting of sync titles. (Closed)

Created:
9 years, 3 months ago by Nicolas Zea
Modified:
9 years, 3 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), Paweł Hajdan Jr., tim (not reviewing), idana
Visibility:
Public.

Description

[Sync] Fix encrypting of sync titles. We should always ensure we overwrite the NON_UNIQUE_NAME of sync entries when encryption is turned on. It's only used for debugging (with a special case for bookmarks), and can therefore safely be discarded. This fixes an issue wherein we accidentally could resurrect old unencrypted non_unique_names. BUG=96314 TEST=Add some extensions/apps/themes to an account with encrypt everything. Restart sync. Verify all entries in about:sync's sync node browser list as "encrypted". Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101254

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase and add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -3 lines) Patch
M chrome/browser/sync/engine/nigori_util.cc View 1 1 chunk +9 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/syncer_unittest.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/sync/internal_api/syncapi_unittest.cc View 2 chunks +42 lines, -0 lines 0 comments Download
M chrome/browser/sync/internal_api/write_node.cc View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Nicolas Zea
Only affects apps/extension/themes currently (and only because of some issue where they rewrite all their ...
9 years, 3 months ago (2011-09-12 23:30:15 UTC) #1
Nicolas Zea
ping!
9 years, 3 months ago (2011-09-13 21:36:21 UTC) #2
tim (not reviewing)
lgtm http://codereview.chromium.org/7878005/diff/1/chrome/browser/sync/engine/nigori_util.cc File chrome/browser/sync/engine/nigori_util.cc (right): http://codereview.chromium.org/7878005/diff/1/chrome/browser/sync/engine/nigori_util.cc#newcode67 chrome/browser/sync/engine/nigori_util.cc:67: entry.Get(NON_UNIQUE_NAME) != kEncryptedString); A comment to the effect ...
9 years, 3 months ago (2011-09-14 23:54:46 UTC) #3
Nicolas Zea
Done, committing. http://codereview.chromium.org/7878005/diff/1/chrome/browser/sync/engine/nigori_util.cc File chrome/browser/sync/engine/nigori_util.cc (right): http://codereview.chromium.org/7878005/diff/1/chrome/browser/sync/engine/nigori_util.cc#newcode67 chrome/browser/sync/engine/nigori_util.cc:67: entry.Get(NON_UNIQUE_NAME) != kEncryptedString); On 2011/09/14 23:54:46, timsteele ...
9 years, 3 months ago (2011-09-15 00:10:04 UTC) #4
commit-bot: I haz the power
9 years, 3 months ago (2011-09-15 05:54:15 UTC) #5
Change committed as 101254

Powered by Google App Engine
This is Rietveld 408576698