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

Issue 9453035: Implement one click login. (Closed)

Created:
8 years, 10 months ago by Roger Tawa OOO till Jul 10th
Modified:
8 years, 9 months ago
CC:
chromium-reviews, creis+watch_chromium.org, brettw-cc_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org, ajwong+watch_chromium.org, Elliot Glaysher, Ben Goodger (Google)
Visibility:
Public.

Description

Implement one click login. depends on http://codereview.chromium.org/9466022/ depends on http://codereview.chromium.org/9465018/ BUG=110050 TEST=When the profile is not connected to a google account, each time the user logs in to a google property an infobar will ask the user if he would like to connect the profile to this account. If so, a dialog pops up with more information, and allows the user to start or cancel. The user can also not choose the default sync settings, in which case pressing start will bring up the advanced sync dialog. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124996

Patch Set 1 #

Patch Set 2 : Some more experimentation #

Patch Set 3 : Moving updating after moving out some files to other CLs #

Patch Set 4 : Fixed commentary #

Total comments: 10

Patch Set 5 : Added support for starting sync process, both automatically and with manual settings #

Total comments: 8

Patch Set 6 : Addressing review comments #

Patch Set 7 : Fix one #if defined() location #

Patch Set 8 : Merge after sync, no new changes #

Patch Set 9 : Added missing grd files #

Total comments: 8

Patch Set 10 : Addressing review comments #

Total comments: 4

Patch Set 11 : Fix member order and include file path #

Patch Set 12 : Fix linux compile error #

Patch Set 13 : Adding virtual to dtor #

Patch Set 14 : Fix test crash #

Patch Set 15 : Merge after sync, no new changes #

Patch Set 16 : Cleanup old filenames from chrome_browser.gypi #

Unified diffs Side-by-side diffs Delta from patch set Stats (+761 lines, -7 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +13 lines, -0 lines 0 comments Download
M chrome/app/chromium_strings.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +10 lines, -7 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +12 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/one_click_signin_dialog_mac.mm View 1 2 3 4 5 6 7 8 9 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/browser/ui/gtk/one_click_signin_dialog_gtk.cc View 1 2 3 4 5 6 7 8 9 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/browser/ui/sync/one_click_signin_dialog.h View 1 2 3 4 5 6 7 8 9 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/browser/ui/sync/one_click_signin_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +67 lines, -0 lines 0 comments Download
A chrome/browser/ui/sync/one_click_signin_helper.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +277 lines, -0 lines 0 comments Download
A chrome/browser/ui/sync/one_click_signin_sync_starter.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/ui/sync/one_click_signin_sync_starter.cc View 1 2 3 4 5 6 7 8 9 1 chunk +53 lines, -0 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +7 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/one_click_signin_dialog_views.cc View 1 2 3 4 5 6 7 8 9 1 chunk +172 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Andrew T Wilson (Slow)
Mostly looks good - I had a few minor comments here and there. Let me ...
8 years, 10 months ago (2012-02-24 22:51:35 UTC) #1
Andrew T Wilson (Slow)
http://codereview.chromium.org/9453035/diff/17008/chrome/browser/signin/one_click_signin.cc File chrome/browser/signin/one_click_signin.cc (right): http://codereview.chromium.org/9453035/diff/17008/chrome/browser/signin/one_click_signin.cc#newcode304 chrome/browser/signin/one_click_signin.cc:304: content::Source<Profile>(profile_)); Did you want to do something with FAILED? ...
8 years, 10 months ago (2012-02-25 00:12:29 UTC) #2
Roger Tawa OOO till Jul 10th
Thanks Drew. Comments addressed, changes uploaded. Please take another look. http://codereview.chromium.org/9453035/diff/19003/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/9453035/diff/19003/chrome/app/generated_resources.grd#newcode8852 ...
8 years, 9 months ago (2012-03-01 04:55:17 UTC) #3
Andrew T Wilson (Slow)
LGTM once we do the moving about described below. http://codereview.chromium.org/9453035/diff/35001/chrome/browser/signin/one_click_signin.h File chrome/browser/signin/one_click_signin.h (right): http://codereview.chromium.org/9453035/diff/35001/chrome/browser/signin/one_click_signin.h#newcode1 chrome/browser/signin/one_click_signin.h:1: ...
8 years, 9 months ago (2012-03-02 19:06:49 UTC) #4
Andrew T Wilson (Slow)
http://codereview.chromium.org/9453035/diff/35001/chrome/browser/signin/one_click_signin.cc File chrome/browser/signin/one_click_signin.cc (right): http://codereview.chromium.org/9453035/diff/35001/chrome/browser/signin/one_click_signin.cc#newcode330 chrome/browser/signin/one_click_signin.cc:330: login_ui_service->ShowLoginUI(); BTW, I think there's going to be a ...
8 years, 9 months ago (2012-03-02 19:14:01 UTC) #5
Roger Tawa OOO till Jul 10th
Thanks Drew. All comments addressed, changes uploaded. http://codereview.chromium.org/9453035/diff/35001/chrome/browser/signin/one_click_signin.cc File chrome/browser/signin/one_click_signin.cc (right): http://codereview.chromium.org/9453035/diff/35001/chrome/browser/signin/one_click_signin.cc#newcode330 chrome/browser/signin/one_click_signin.cc:330: login_ui_service->ShowLoginUI(); On ...
8 years, 9 months ago (2012-03-02 22:32:47 UTC) #6
Roger Tawa OOO till Jul 10th
Hi John, Could you take a look at the two tab_contents_wrapper changes? Thanks.
8 years, 9 months ago (2012-03-02 22:35:35 UTC) #7
Avi (use Gerrit)
http://codereview.chromium.org/9453035/diff/42001/chrome/browser/ui/tab_contents/tab_contents_wrapper.h File chrome/browser/ui/tab_contents/tab_contents_wrapper.h (right): http://codereview.chromium.org/9453035/diff/42001/chrome/browser/ui/tab_contents/tab_contents_wrapper.h#newcode198 chrome/browser/ui/tab_contents/tab_contents_wrapper.h:198: #endif 25 items are already in alphabetical order; let's ...
8 years, 9 months ago (2012-03-03 02:50:28 UTC) #8
Avi (use Gerrit)
That was probably a little bit too snarky. Sorry. It hit a nerve where people ...
8 years, 9 months ago (2012-03-03 03:06:35 UTC) #9
Roger Tawa OOO till Jul 10th
Hi Avi, I'm not going to fix the order of the members I did not ...
8 years, 9 months ago (2012-03-03 03:45:27 UTC) #10
Avi (use Gerrit)
LGTM Didn't mean to request that you reorder other stuff than what you put in. ...
8 years, 9 months ago (2012-03-03 06:04:02 UTC) #11
Roger Tawa OOO till Jul 10th
Hi Drew, I noticed that this change caused a crash in the unit tests. The ...
8 years, 9 months ago (2012-03-04 04:14:24 UTC) #12
Andrew T Wilson (Slow)
gypi changes LGTM, although I'm completely unfamiliar with the idioms there.
8 years, 9 months ago (2012-03-04 19:04:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/9453035/48026
8 years, 9 months ago (2012-03-05 14:12:49 UTC) #14
commit-bot: I haz the power
Presubmit check for 9453035-48026 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 9 months ago (2012-03-05 14:12:57 UTC) #15
Roger Tawa OOO till Jul 10th
Hi Ben, Elliot, I need owner reviews for two UI files. Ben: can you please ...
8 years, 9 months ago (2012-03-05 14:28:21 UTC) #16
Ben Goodger (Google)
LGTM for one_click_signin_dialog_views.cc
8 years, 9 months ago (2012-03-05 15:45:25 UTC) #17
Elliot Glaysher
lgtm
8 years, 9 months ago (2012-03-05 18:31:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/9453035/48026
8 years, 9 months ago (2012-03-05 19:05:32 UTC) #19
commit-bot: I haz the power
Change committed as 124996
8 years, 9 months ago (2012-03-05 21:02:44 UTC) #20
gab
Just saw this CL while looking through sync code. We'll eventually want to make sure ...
8 years, 9 months ago (2012-03-06 20:14:05 UTC) #21
gab
Bug link didn't go through, here it is again: http://code.google.com/p/chromium/issues/detail?id=113133
8 years, 9 months ago (2012-03-06 20:15:39 UTC) #22
Roger Tawa OOO till Jul 10th
8 years, 9 months ago (2012-03-06 20:34:08 UTC) #23
On 2012/03/06 20:15:39, gab wrote:
> Bug link didn't go through, here it is again:
> http://code.google.com/p/chromium/issues/detail?id=113133

Thanks for the heads-up Gab.  Its by design that this feature does not show the
user's email address in any UI, so should be safe from that.

Powered by Google App Engine
This is Rietveld 408576698