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

Issue 4980005: Allow sync with 2-factor StrongAuth accounts in ChromeOS. (Closed)

Created:
10 years, 1 month ago by stevenjb
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ncarter (slow), nkostylev+cc_chromium.org, ben+cc_chromium.org, Raghu Simha, idana, davemoore+watch_chromium.org, brettw-cc_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Allow sync with 2-factor StrongAuth accounts in ChromeOS. 1. Detect login with 2-factor error and direct new accounts to chrome://settings/personal 2. Open BorwserSignin from 'Set Up Sync' button in sync settings 3. Enable constrained html dialog in BrowserSigning (was implemented for ChromeOS in a previous CL) 4. Attempt to log into sync when exiting screen locker if sync becomes disabled BUG=chromium-os:8752 TEST=see issue Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66690

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : Rebase #

Total comments: 2

Patch Set 5 : Linux compile fix. #

Total comments: 5

Patch Set 6 : Refactored 2-factor error passing #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -42 lines) Patch
M chrome/browser/browser_signin.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 3 4 5 3 chunks +13 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/google_authenticator.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/screen_locker.cc View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/options/personal_options_handler.h View 1 2 3 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/dom_ui/options/personal_options_handler.cc View 1 2 3 4 4 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 2 2 chunks +3 lines, -2 lines 3 comments Download
M chrome/browser/sync/profile_sync_service.cc View 8 chunks +22 lines, -19 lines 0 comments Download
M chrome/browser/sync/signin_manager.cc View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/sync/sync_setup_flow.cc View 2 chunks +5 lines, -11 lines 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M chrome/common/net/gaia/gaia_auth_consumer.h View 3 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
stevenjb
10 years, 1 month ago (2010-11-17 00:51:31 UTC) #1
Chris Masone
http://codereview.chromium.org/4980005/diff/7001/chrome/browser/chromeos/login/login_status_consumer.h File chrome/browser/chromeos/login/login_status_consumer.h (right): http://codereview.chromium.org/4980005/diff/7001/chrome/browser/chromeos/login/login_status_consumer.h#newcode101 chrome/browser/chromeos/login/login_status_consumer.h:101: virtual void SetLoginFailure(const LoginFailure& error) = 0; This mechanism ...
10 years, 1 month ago (2010-11-17 01:11:08 UTC) #2
Nikita (slow)
http://codereview.chromium.org/4980005/diff/11001/chrome/browser/chromeos/login/login_performer.cc File chrome/browser/chromeos/login/login_performer.cc (right): http://codereview.chromium.org/4980005/diff/11001/chrome/browser/chromeos/login/login_performer.cc#newcode63 chrome/browser/chromeos/login/login_performer.cc:63: DCHECK(!pending_requests); In R10 we're moving to the case when ...
10 years, 1 month ago (2010-11-17 12:07:43 UTC) #3
stevenjb
Changes based on Chris's feedback. Improved CL with less fat is now available. http://codereview.chromium.org/4980005/diff/7001/chrome/browser/chromeos/login/login_status_consumer.h File ...
10 years, 1 month ago (2010-11-17 23:48:41 UTC) #4
Chris Masone
The google_authenticator.cc change LGTM, though I can't speak to the rest of the code. On ...
10 years, 1 month ago (2010-11-17 23:51:06 UTC) #5
John Gregg
http://codereview.chromium.org/4980005/diff/19001/chrome/browser/sync/profile_sync_service.h File chrome/browser/sync/profile_sync_service.h (right): http://codereview.chromium.org/4980005/diff/19001/chrome/browser/sync/profile_sync_service.h#newcode358 chrome/browser/sync/profile_sync_service.h:358: SigninManager* signin() { return signin_.get(); } why are you ...
10 years, 1 month ago (2010-11-18 00:05:29 UTC) #6
stevenjb
http://codereview.chromium.org/4980005/diff/19001/chrome/browser/sync/profile_sync_service.h File chrome/browser/sync/profile_sync_service.h (right): http://codereview.chromium.org/4980005/diff/19001/chrome/browser/sync/profile_sync_service.h#newcode358 chrome/browser/sync/profile_sync_service.h:358: SigninManager* signin() { return signin_.get(); } On 2010/11/18 00:05:30, ...
10 years, 1 month ago (2010-11-18 00:11:09 UTC) #7
John Gregg
http://codereview.chromium.org/4980005/diff/19001/chrome/browser/sync/profile_sync_service.h File chrome/browser/sync/profile_sync_service.h (right): http://codereview.chromium.org/4980005/diff/19001/chrome/browser/sync/profile_sync_service.h#newcode358 chrome/browser/sync/profile_sync_service.h:358: SigninManager* signin() { return signin_.get(); } On 2010/11/18 00:11:09, ...
10 years, 1 month ago (2010-11-18 00:22:50 UTC) #8
tim (not reviewing)
10 years, 1 month ago (2010-11-18 18:37:28 UTC) #9
On 2010/11/18 00:22:50, John Gregg wrote:
>
http://codereview.chromium.org/4980005/diff/19001/chrome/browser/sync/profile...
> File chrome/browser/sync/profile_sync_service.h (right):
> 
>
http://codereview.chromium.org/4980005/diff/19001/chrome/browser/sync/profile...
> chrome/browser/sync/profile_sync_service.h:358: SigninManager* signin() {
return
> signin_.get(); }
> On 2010/11/18 00:11:09, Steven Bennetts wrote:
> > On 2010/11/18 00:05:30, John Gregg wrote:
> > > why are you making signin() public?  Would rather not if not necessary,
and
> I
> > > don't see a call site in your patch.
> > 
> > I didn't add signin(), just cros_user() (I eliminated a newline). signin()
is
> > called in profile_sync_service_harness.cc.
> > 
> 
> Oh, never mind, read it incorrectly.  The sync/browser_signin parts LGTM.

If it LGTJohn it LGTM

Powered by Google App Engine
This is Rietveld 408576698