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

Issue 10917246: [Sync] Add keystore encryption info to about:sync (Closed)

Created:
8 years, 3 months ago by Nicolas Zea
Modified:
8 years, 3 months ago
Reviewers:
akalin
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing)
Visibility:
Public.

Description

[Sync] Add keystore encryption info to about:sync This patch adds the following fields under the encryption section of about:sync - Has Keystore Key: whether the encryption handler has a keystore encryption key - Migration Time: the time migration was performed, or "Not Migrated" if migration hasn't been performed yet - Passphrase Type: the actual passphrase type (provides more detail than Is Using Explicit Passphrase, but stored at a diff layer) Added sync/api/time.h, which just includes sync/util/time.h but is accessible from chrome/ BUG=129665 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157499

Patch Set 1 #

Patch Set 2 : Make const #

Total comments: 10

Patch Set 3 : Rebase + address comments #

Total comments: 2

Patch Set 4 : sync/api/time.h #

Total comments: 4

Patch Set 5 : For commit #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -48 lines) Patch
M chrome/browser/sync/about_sync_util.cc View 1 2 3 4 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/session_model_associator.cc View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M sync/api/DEPS View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A sync/api/time.h View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
M sync/engine/all_status.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M sync/engine/all_status.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M sync/internal_api/public/engine/sync_status.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M sync/internal_api/public/engine/sync_status.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M sync/internal_api/sync_encryption_handler_impl.h View 1 2 4 chunks +4 lines, -5 lines 0 comments Download
M sync/internal_api/sync_encryption_handler_impl.cc View 1 2 3 4 5 5 chunks +17 lines, -6 lines 0 comments Download
M sync/internal_api/sync_encryption_handler_impl_unittest.cc View 1 2 3 4 5 38 chunks +43 lines, -32 lines 0 comments Download
M sync/internal_api/sync_manager_impl.cc View 1 2 3 chunks +9 lines, -2 lines 0 comments Download
M sync/sync.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Nicolas Zea
PTAL.
8 years, 3 months ago (2012-09-13 22:52:19 UTC) #1
Nicolas Zea
ping!
8 years, 3 months ago (2012-09-17 17:25:12 UTC) #2
akalin
sorry! some comments. https://codereview.chromium.org/10917246/diff/4001/chrome/browser/sync/about_sync_util.cc File chrome/browser/sync/about_sync_util.cc (right): https://codereview.chromium.org/10917246/diff/4001/chrome/browser/sync/about_sync_util.cc#newcode302 chrome/browser/sync/about_sync_util.cc:302: keystore_migration_time.SetValue(full_status.keystore_migration_time); yeah, I think the string ...
8 years, 3 months ago (2012-09-17 18:07:20 UTC) #3
Nicolas Zea
Comments addressed, PTAL. I also moved sync/util/time.h into internal_api/public/util/, but I think that's a more ...
8 years, 3 months ago (2012-09-17 21:00:24 UTC) #4
akalin
I think we can't move time.h/time.cc out. http://codereview.chromium.org/10917246/diff/2003/sync/internal_api/sync_encryption_handler_impl_unittest.cc File sync/internal_api/sync_encryption_handler_impl_unittest.cc (right): http://codereview.chromium.org/10917246/diff/2003/sync/internal_api/sync_encryption_handler_impl_unittest.cc#newcode725 sync/internal_api/sync_encryption_handler_impl_unittest.cc:725: EXPECT_CALL(*observer(), Looks ...
8 years, 3 months ago (2012-09-18 00:19:21 UTC) #5
Nicolas Zea
Moved time.h back to sync/util, and added sync/api/time.h for use outside of sync/. I believe ...
8 years, 3 months ago (2012-09-18 01:24:24 UTC) #6
akalin
lgtm after nits also mention addition of api/time.h in CL description http://codereview.chromium.org/10917246/diff/3037/sync/api/time.h File sync/api/time.h (right): ...
8 years, 3 months ago (2012-09-18 20:16:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/10917246/21001
8 years, 3 months ago (2012-09-18 22:17:12 UTC) #8
Nicolas Zea
Done, committing. http://codereview.chromium.org/10917246/diff/3037/sync/api/time.h File sync/api/time.h (right): http://codereview.chromium.org/10917246/diff/3037/sync/api/time.h#newcode11 sync/api/time.h:11: #include <sync/util/time.h> On 2012/09/18 20:16:37, akalin wrote: ...
8 years, 3 months ago (2012-09-18 22:17:18 UTC) #9
commit-bot: I haz the power
Failed to apply patch for sync/internal_api/sync_encryption_handler_impl_unittest.cc: While running patch -p1 --forward --force; patching file sync/internal_api/sync_encryption_handler_impl_unittest.cc ...
8 years, 3 months ago (2012-09-19 00:38:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/10917246/26001
8 years, 3 months ago (2012-09-19 00:41:30 UTC) #11
commit-bot: I haz the power
8 years, 3 months ago (2012-09-19 04:12:20 UTC) #12
Change committed as 157499

Powered by Google App Engine
This is Rietveld 408576698