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

Issue 7466024: [Sync] Support receiving early passphrase required information in Sync UI. (Closed)

Created:
9 years, 5 months ago by Nicolas Zea
Modified:
9 years, 5 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), arv (Not doing code reviews), tim (not reviewing), idana
Visibility:
Public.

Description

[Sync] Support receiving early passphrase required information in Sync UI. We now always send the configure command, even when it's just a passphrase being entered. This works because the datatypemanager now is smart enough to not reconfigure if the datatypes are the same and we were already in a configured state. The configure command now also supports using the explicit passphrase prompted when one is already required. BUG=87797, 87572 TEST=First time sync on an account that already had an explicit passphrase. Also all other passphrase prompt scenarios. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93549

Patch Set 1 #

Patch Set 2 : remove old function #

Total comments: 4

Patch Set 3 : Fix checkpassphrase match and clear pending #

Patch Set 4 : Stray char #

Total comments: 4

Patch Set 5 : Comments addressed + fix unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -37 lines) Patch
M chrome/browser/resources/options/sync_setup_overlay.js View 1 2 3 4 6 chunks +19 lines, -14 lines 0 comments Download
M chrome/browser/sync/engine/syncapi.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 4 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/sync/sync_setup_flow.cc View 1 2 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard_unittest.cc View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/sync_setup_handler.cc View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Nicolas Zea
This is still a WIP, but it does solve the issue currently present where you ...
9 years, 5 months ago (2011-07-21 00:26:32 UTC) #1
binji
http://codereview.chromium.org/7466024/diff/2001/chrome/browser/resources/options/sync_setup_overlay.js File chrome/browser/resources/options/sync_setup_overlay.js (right): http://codereview.chromium.org/7466024/diff/2001/chrome/browser/resources/options/sync_setup_overlay.js#newcode227 chrome/browser/resources/options/sync_setup_overlay.js:227: var custom_passphrase = ""; nit: javascript variable style is ...
9 years, 5 months ago (2011-07-21 01:04:36 UTC) #2
tim (not reviewing)
c++ changes LGTM
9 years, 5 months ago (2011-07-21 16:29:30 UTC) #3
Nicolas Zea
PTAL. I also made it so that CLEAR_PENDING is always handled, since we're currently getting ...
9 years, 5 months ago (2011-07-21 18:20:49 UTC) #4
Nicolas Zea
FYI drew
9 years, 5 months ago (2011-07-21 18:21:33 UTC) #5
binji
+jhawkins. I'm not a full committer yet!
9 years, 5 months ago (2011-07-21 18:24:44 UTC) #6
James Hawkins
LGTM with nits. http://codereview.chromium.org/7466024/diff/4002/chrome/browser/resources/options/sync_setup_overlay.js File chrome/browser/resources/options/sync_setup_overlay.js (right): http://codereview.chromium.org/7466024/diff/4002/chrome/browser/resources/options/sync_setup_overlay.js#newcode219 chrome/browser/resources/options/sync_setup_overlay.js:219: if (!this.checkPassphraseMatch_()) { No braces for ...
9 years, 5 months ago (2011-07-21 19:20:09 UTC) #7
Nicolas Zea
Comments addressed. Committing once trybots go green. http://codereview.chromium.org/7466024/diff/4002/chrome/browser/resources/options/sync_setup_overlay.js File chrome/browser/resources/options/sync_setup_overlay.js (right): http://codereview.chromium.org/7466024/diff/4002/chrome/browser/resources/options/sync_setup_overlay.js#newcode219 chrome/browser/resources/options/sync_setup_overlay.js:219: if (!this.checkPassphraseMatch_()) ...
9 years, 5 months ago (2011-07-21 19:34:57 UTC) #8
commit-bot: I haz the power
9 years, 5 months ago (2011-07-22 04:28:01 UTC) #9
Change committed as 93549

Powered by Google App Engine
This is Rietveld 408576698