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

Issue 12086069: Enable Chrome Signin from Webstore (Closed)

Created:
7 years, 10 months ago by guohui
Modified:
7 years, 10 months ago
CC:
chromium-reviews, akalin, Raghu Simha, sail+watch_chromium.org, darin-cc_chromium.org, haitaol1, tim (not reviewing), benwells
Visibility:
Public.

Description

Enable Chrome Signin from Webstore This CL adds webstore as a new source for Chrome signin. It also grabs password as soon as password form is submitted rather than at the end of navigation. The reason is webstore runs in its own context, redirect from gaia to webstore results in context swap during which password data is discarded, thus password must be sent to the oneclick signin helper before redirect occurs. PM mock at https://docs.google.com/a/google.com/presentation/d/1zCvdhBXKL8RDQwuRauSZdgCbiRexJRZ564z9Uw0wS6U/edit?disco=AAAAAFg3OEI#slide=id.g996e03e1_00. This CL implements the transition from slide 7 to 8. BUG=173433 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180086

Patch Set 1 : Initial #

Total comments: 4

Patch Set 2 : Fix UMA enum #

Patch Set 3 : rebase #

Total comments: 1

Patch Set 4 : redundant forward declaration removed and nit fixed #

Patch Set 5 : rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -14 lines) Patch
M chrome/browser/ui/sync/one_click_signin_helper.h View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper.cc View 1 2 4 chunks +27 lines, -9 lines 1 comment Download
M chrome/browser/ui/webui/sync_promo/sync_promo_trial.cc View 1 4 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_ui.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/common_message_generator.h View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/one_click_signin_messages.h View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
A chrome/renderer/one_click_signin_agent.h View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/renderer/one_click_signin_agent.cc View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M ipc/ipc_message_start.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
guohui
7 years, 10 months ago (2013-01-30 21:36:49 UTC) #1
guohui
On 2013/01/30 21:36:49, guohui wrote: Will add unit tests after the main code is reviewed.
7 years, 10 months ago (2013-01-30 21:38:35 UTC) #2
guohui
On 2013/01/30 21:38:35, guohui wrote: > On 2013/01/30 21:36:49, guohui wrote: > > Will add ...
7 years, 10 months ago (2013-01-31 13:08:28 UTC) #3
Roger Tawa OOO till Jul 10th
This changes the code flow for all web-based sign in flows. Can you please verify ...
7 years, 10 months ago (2013-01-31 13:27:16 UTC) #4
guohui
Thanks Roger. I confirmed that all existing flows still work (first run, settings page, advanced), ...
7 years, 10 months ago (2013-01-31 16:44:01 UTC) #5
jam
since you have multiple reviewers, you need to specify who should look at what
7 years, 10 months ago (2013-01-31 17:47:45 UTC) #6
Roger Tawa OOO till Jul 10th
lgtm for one-click and webui changes
7 years, 10 months ago (2013-01-31 18:23:05 UTC) #7
guohui
On 2013/01/31 17:47:45, jam wrote: > since you have multiple reviewers, you need to specify ...
7 years, 10 months ago (2013-01-31 19:35:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/12086069/16001
7 years, 10 months ago (2013-01-31 23:58:01 UTC) #9
commit-bot: I haz the power
Presubmit check for 12086069-16001 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 10 months ago (2013-01-31 23:58:06 UTC) #10
guohui
On 2013/01/31 23:58:06, I haz the power (commit-bot) wrote: > Presubmit check for 12086069-16001 failed ...
7 years, 10 months ago (2013-02-01 00:00:14 UTC) #11
guohui
On 2013/02/01 00:00:14, guohui wrote: > On 2013/01/31 23:58:06, I haz the power (commit-bot) wrote: ...
7 years, 10 months ago (2013-02-01 02:25:52 UTC) #12
jam
lgtm, you'll need a security person for the IPCs though https://codereview.chromium.org/12086069/diff/16001/chrome/renderer/one_click_signin_agent.h File chrome/renderer/one_click_signin_agent.h (right): https://codereview.chromium.org/12086069/diff/16001/chrome/renderer/one_click_signin_agent.h#newcode12 ...
7 years, 10 months ago (2013-02-01 02:45:59 UTC) #13
guohui
On 2013/02/01 02:45:59, jam wrote: > lgtm, you'll need a security person for the IPCs ...
7 years, 10 months ago (2013-02-01 02:54:26 UTC) #14
guohui
On 2013/02/01 02:54:26, guohui wrote: > On 2013/02/01 02:45:59, jam wrote: > > lgtm, you'll ...
7 years, 10 months ago (2013-02-01 02:55:03 UTC) #15
Tom Sepez
The message in and of itself is LGTM, but have you been working with anyone ...
7 years, 10 months ago (2013-02-01 04:04:11 UTC) #16
guohui
On 2013/02/01 04:04:11, Tom Sepez wrote: > The message in and of itself is LGTM, ...
7 years, 10 months ago (2013-02-01 04:20:57 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/12086069/21001
7 years, 10 months ago (2013-02-01 04:21:43 UTC) #18
Charlie Reis
In the future, please do not commit if you add someone as a reviewer until ...
7 years, 10 months ago (2013-02-01 19:40:49 UTC) #19
guohui
7 years, 10 months ago (2013-02-01 19:43:03 UTC) #20
Message was sent while issue was closed.
On 2013/02/01 19:40:49, creis wrote:
> In the future, please do not commit if you add someone as a reviewer until
> you've gotten their feedback, or at least heard from them that it's ok to go
> ahead.
> 
> In this case, this LGTM (apart from a nit that can be fixed later).
> 
>
https://codereview.chromium.org/12086069/diff/30/chrome/browser/ui/sync/one_c...
> File chrome/browser/ui/sync/one_click_signin_helper.cc (right):
> 
>
https://codereview.chromium.org/12086069/diff/30/chrome/browser/ui/sync/one_c...
> chrome/browser/ui/sync/one_click_signin_helper.cc:921: // If this explicit
sign
> in is not from settings page/webostre, show the NTP
> nit: webstore

Sorry creiz, we were in a rush to commit this change yesterday so that we could
start testing with nightly build today.

I will fix the nit in a later CL.

Thanks!

Powered by Google App Engine
This is Rietveld 408576698