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

Issue 10824410: [Sync] Refactor passphrase state handling (Closed)

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

Description

[Sync] Refactor passphrase state handling We now have an enum describing passphrase state, and cache the current value on the UI thread via a new OnPassphraseStateChanged method. Additionally, we log the OnPassphraseStateChanged event in the debug log info. BUG=139848, 129665 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153397

Patch Set 1 #

Patch Set 2 : Self review #

Patch Set 3 : Fix #

Patch Set 4 : Fix last test #

Total comments: 10

Patch Set 5 : Address comments #

Patch Set 6 : Fix dvlog #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -76 lines) Patch
M chrome/browser/sync/glue/sync_backend_host.h View 1 2 3 4 5 6 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 1 2 3 4 5 6 8 chunks +30 lines, -7 lines 0 comments Download
M sync/internal_api/debug_info_event_listener.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/debug_info_event_listener.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M sync/internal_api/js_sync_encryption_handler_observer.h View 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/js_sync_encryption_handler_observer.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M sync/internal_api/js_sync_encryption_handler_observer_unittest.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M sync/internal_api/public/sync_encryption_handler.h View 1 2 3 4 4 chunks +18 lines, -5 lines 0 comments Download
M sync/internal_api/public/util/sync_string_conversions.h View 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/public/util/sync_string_conversions.cc View 2 chunks +20 lines, -12 lines 0 comments Download
M sync/internal_api/sync_encryption_handler_impl.h View 1 2 3 4 5 6 2 chunks +4 lines, -5 lines 0 comments Download
M sync/internal_api/sync_encryption_handler_impl.cc View 1 2 3 4 5 6 8 chunks +26 lines, -16 lines 0 comments Download
M sync/internal_api/sync_encryption_handler_impl_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/sync_manager_impl.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/sync_manager_impl.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M sync/internal_api/sync_manager_impl_unittest.cc View 1 2 3 4 5 6 13 chunks +33 lines, -20 lines 0 comments Download
M sync/protocol/client_debug_info.proto View 1 chunk +5 lines, -4 lines 0 comments Download
M sync/test/fake_sync_encryption_handler.h View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/test/fake_sync_encryption_handler.cc View 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Nicolas Zea
PTAL
8 years, 4 months ago (2012-08-21 22:46:26 UTC) #1
akalin
lgtm http://codereview.chromium.org/10824410/diff/18001/sync/internal_api/public/sync_encryption_handler.h File sync/internal_api/public/sync_encryption_handler.h (right): http://codereview.chromium.org/10824410/diff/18001/sync/internal_api/public/sync_encryption_handler.h#newcode44 sync/internal_api/public/sync_encryption_handler.h:44: // This class is not thread safe. All ...
8 years, 4 months ago (2012-08-22 20:10:39 UTC) #2
Nicolas Zea
All comments addressed. Committing after http://codereview.chromium.org/10844005/ lands. http://codereview.chromium.org/10824410/diff/18001/sync/internal_api/public/sync_encryption_handler.h File sync/internal_api/public/sync_encryption_handler.h (right): http://codereview.chromium.org/10824410/diff/18001/sync/internal_api/public/sync_encryption_handler.h#newcode44 sync/internal_api/public/sync_encryption_handler.h:44: // This ...
8 years, 4 months ago (2012-08-22 20:18:33 UTC) #3
Nicolas Zea
ping?
8 years, 4 months ago (2012-08-23 22:49:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/10824410/9057
8 years, 4 months ago (2012-08-24 22:55:26 UTC) #5
commit-bot: I haz the power
8 years, 3 months ago (2012-08-26 11:54:28 UTC) #6
Change committed as 153397

Powered by Google App Engine
This is Rietveld 408576698