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

Issue 3655004: Add UI for setting the encryption passphrase.... (Closed)

Created:
10 years, 2 months ago by John Gregg
Modified:
9 years ago
CC:
chromium-reviews, ncarter (slow), ben+cc_chromium.org, Raghu Simha, Erik does not do reviews, idana, Aaron Boodman, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add UI for setting the encryption passphrase. -Tabbed version of configure page which offers both data type selection and passphrase selection -New passphrase page which doubles for creation and entry. -New common loading page which contains the spinny. -Backend changes. BUG=48706 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62249

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : with new html #

Total comments: 14

Patch Set 4 : with test changes #

Patch Set 5 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+883 lines, -732 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 2 chunks +46 lines, -1 line 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/dom_ui/options/sync_options_handler.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 2 3 4 4 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 3 chunks +16 lines, -4 lines 0 comments Download
D chrome/browser/sync/resources/choose_datatypes.html View 1 2 3 4 1 chunk +0 lines, -381 lines 0 comments Download
A + chrome/browser/sync/resources/configure.html View 1 2 3 10 chunks +215 lines, -129 lines 0 comments Download
A chrome/browser/sync/resources/passphrase.html View 3 4 1 chunk +131 lines, -0 lines 0 comments Download
A chrome/browser/sync/resources/setting_up.html View 1 chunk +83 lines, -0 lines 0 comments Download
M chrome/browser/sync/resources/setup_flow.html View 1 2 3 4 1 chunk +27 lines, -25 lines 0 comments Download
M chrome/browser/sync/sync_setup_flow.h View 1 2 3 4 5 chunks +29 lines, -11 lines 0 comments Download
M chrome/browser/sync/sync_setup_flow.cc View 1 2 3 4 16 chunks +181 lines, -41 lines 0 comments Download
chrome/browser/sync/sync_setup_wizard.h View 1 2 3 4 1 chunk +12 lines, -9 lines 0 comments Download
chrome/browser/sync/sync_setup_wizard.cc View 1 2 3 4 3 chunks +119 lines, -118 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard_unittest.cc View 4 9 chunks +12 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
John Gregg
10 years, 2 months ago (2010-10-11 05:49:57 UTC) #1
tim (not reviewing)
http://codereview.chromium.org/3655004/diff/19001/20001 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/3655004/diff/19001/20001#newcode7812 chrome/app/generated_resources.grd:7812: <ph name="PRODUCT_NAME">$1<ex>Chrome</ex></ph> always encrypts your data when it's tramsmitted ...
10 years, 2 months ago (2010-10-11 18:24:09 UTC) #2
John Gregg
http://codereview.chromium.org/3655004/diff/19001/20001 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/3655004/diff/19001/20001#newcode7812 chrome/app/generated_resources.grd:7812: <ph name="PRODUCT_NAME">$1<ex>Chrome</ex></ph> always encrypts your data when it's tramsmitted ...
10 years, 2 months ago (2010-10-11 21:03:39 UTC) #3
tim (not reviewing)
http://codereview.chromium.org/3655004/diff/19001/20013 File chrome/browser/sync/sync_setup_wizard.cc (right): http://codereview.chromium.org/3655004/diff/19001/20013#newcode156 chrome/browser/sync/sync_setup_wizard.cc:156: AddString(dict, "enterPassphraseTitle", IDS_SYNC_ENTER_PASSPHRASE_TITLE); shouldn't part of these be conditional ...
10 years, 2 months ago (2010-10-11 21:06:46 UTC) #4
tim (not reviewing)
http://codereview.chromium.org/3655004/diff/19001/20004 File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/3655004/diff/19001/20004#newcode938 chrome/browser/sync/profile_sync_service.cc:938: UpdateAuthErrorState(GoogleServiceAuthError( On 2010/10/11 21:03:39, John Gregg wrote: > On ...
10 years, 2 months ago (2010-10-11 21:08:14 UTC) #5
John Gregg
http://codereview.chromium.org/3655004/diff/19001/20004 File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/3655004/diff/19001/20004#newcode938 chrome/browser/sync/profile_sync_service.cc:938: UpdateAuthErrorState(GoogleServiceAuthError( On 2010/10/11 21:08:14, timsteele wrote: > On 2010/10/11 ...
10 years, 2 months ago (2010-10-11 23:38:53 UTC) #6
tim (not reviewing)
10 years, 2 months ago (2010-10-11 23:44:20 UTC) #7
On 2010/10/11 23:38:53, John Gregg wrote:
> http://codereview.chromium.org/3655004/diff/19001/20004
> File chrome/browser/sync/profile_sync_service.cc (right):
> 
> http://codereview.chromium.org/3655004/diff/19001/20004#newcode938
> chrome/browser/sync/profile_sync_service.cc:938:
> UpdateAuthErrorState(GoogleServiceAuthError(
> On 2010/10/11 21:08:14, timsteele wrote:
> > On 2010/10/11 21:03:39, John Gregg wrote:
> > > On 2010/10/11 18:24:09, timsteele wrote:
> > > > do we really want to do this UpdateAuthErrorState in all cases?  It
> doesn't
> > > seem
> > > > like a true error if we just have to unlock?
> > > 
> > > if the user doesn't follow through on the wizard don't we want to be able
to
> > > show some persistent UI indicating a problem.  We could create a different
> > > error, but it doesn't really fit into the GoogleServiceAuthError model.
> > > 
> > > How about I only set the error if the wizard is not visible (as we
discussed
> > > this would be a rare case).  Any other suggestions?
> > 
> > OK; but use SetupInProgress vs WizardIsVisible for the condition.
> 
> Done.
> 
> http://codereview.chromium.org/3655004/diff/19001/20013
> File chrome/browser/sync/sync_setup_wizard.cc (right):
> 
> http://codereview.chromium.org/3655004/diff/19001/20013#newcode156
> chrome/browser/sync/sync_setup_wizard.cc:156: AddString(dict,
> "enterPassphraseTitle", IDS_SYNC_ENTER_PASSPHRASE_TITLE);
> On 2010/10/11 21:06:47, timsteele wrote:
> > shouldn't part of these be conditional on whether we're using the secondary
> > passphrase or not? (So we show the 'Google password' version instead?)
> 
> Done.

LGTM

Powered by Google App Engine
This is Rietveld 408576698