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

Issue 3792007: Fix some problems with the ENTER_PASSPHRASE state in sync setup.... (Closed)

Created:
10 years, 2 months ago by John Gregg
Modified:
9 years ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), ben+cc_chromium.org, tim (not reviewing), idana
Visibility:
Public.

Description

Fix some problems with the ENTER_PASSPHRASE state in sync setup. BUG=48706 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62935

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -21 lines) Patch
M chrome/browser/cocoa/preferences_window_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/options/content_page_gtk.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 4 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 6 chunks +13 lines, -5 lines 0 comments Download
M chrome/browser/sync/resources/passphrase.html View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/sync/resources/setting_up.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sync_setup_flow.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/sync_setup_flow.cc View 2 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard_unittest.cc View 4 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/views/options/content_page_view.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
John Gregg
10 years, 2 months ago (2010-10-15 03:23:49 UTC) #1
tim (not reviewing)
10 years, 2 months ago (2010-10-15 05:20:29 UTC) #2
This LGTM except for a couple nits, and that a) BUG=none will cause you some
grief from laforge's merge police script, and b) it'd be nice to add some
coverage to SyncSetupWizardTest for the added ENTER_PASSPHRASE advance logic.

http://codereview.chromium.org/3792007/diff/1/2
File chrome/browser/sync/profile_sync_service.cc (right):

http://codereview.chromium.org/3792007/diff/1/2#newcode676
chrome/browser/sync/profile_sync_service.cc:676: void
ProfileSyncService::ShowChooseDataTypes(gfx::NativeWindow parent_window) {
Can you add a todo to change this (or actually change it) to ShowConfigure, or
something like that?

http://codereview.chromium.org/3792007/diff/1/5
File chrome/browser/sync/resources/setting_up.html (right):

http://codereview.chromium.org/3792007/diff/1/5#newcode71
chrome/browser/sync/resources/setting_up.html:71: <div id="setting_up">
ah! was this causing the alignment to be off by any chance?

http://codereview.chromium.org/3792007/diff/1/8
File chrome/browser/sync/sync_ui_util.cc (right):

http://codereview.chromium.org/3792007/diff/1/8#newcode30
chrome/browser/sync/sync_ui_util.cc:30: if (auth_error.state() ==
AuthError::INVALID_GAIA_CREDENTIALS ||
I guess we could / should have a string here for passphrases, but seems like we
have to punt on that for m8, since we're post string freeze.

Powered by Google App Engine
This is Rietveld 408576698