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

Issue 12929014: Identity API: Pop-up a sign-in dialog if gaia credentials are bad (Closed)

Created:
7 years, 9 months ago by Michael Courage
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org, dcheng, Pete Williamson, Andrew T Wilson (Slow), Munjal (Google), saroop
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Visibility:
Public.

Description

Identity API: Pop-up a sign-in dialog if gaia credentials are bad TBR=jhawkins@chromium.org (for files added to chrome/chrome_browser_extensions.gypi) BUG=222774 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192471

Patch Set 1 #

Total comments: 2

Patch Set 2 : improve ui flow for web-based sign-in #

Patch Set 3 : Use SigninGlobalError and chrome::ShowBrowserSignin #

Patch Set 4 : launch sign-in through LoginUIService #

Total comments: 12

Patch Set 5 : address code review comments #

Patch Set 6 : improve interactive flag clarity #

Total comments: 14

Patch Set 7 : address code review comments #

Total comments: 9

Patch Set 8 : address code review comments #

Patch Set 9 : rebase #

Patch Set 10 : windows build fix #

Total comments: 2

Patch Set 11 : fix signin browser test for chromeos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+377 lines, -144 lines) Patch
M chrome/browser/extensions/api/identity/identity_api.h View 1 2 3 4 5 6 chunks +37 lines, -16 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_api.cc View 1 2 3 4 5 6 7 8 11 chunks +112 lines, -67 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_apitest.cc View 1 2 3 4 5 6 7 8 9 18 chunks +102 lines, -39 lines 0 comments Download
A chrome/browser/extensions/api/identity/identity_signin_flow.h View 1 2 3 4 5 6 7 1 chunk +59 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/identity/identity_signin_flow.cc View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/signin/login_ui_service.cc View 1 2 3 2 chunks +4 lines, -19 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
Michael Courage
Putting this out to get comments on the approach. Recommendation in the bug was to ...
7 years, 9 months ago (2013-03-21 23:52:52 UTC) #1
Pete Williamson
https://codereview.chromium.org/12929014/diff/1/chrome/browser/extensions/api/identity/identity_api.cc File chrome/browser/extensions/api/identity/identity_api.cc (right): https://codereview.chromium.org/12929014/diff/1/chrome/browser/extensions/api/identity/identity_api.cc#newcode114 chrome/browser/extensions/api/identity/identity_api.cc:114: How will the user know *why* they are being ...
7 years, 9 months ago (2013-03-22 16:42:34 UTC) #2
Michael Courage
Refactored sign-in into its own flow and made it work better with the web-based dialogs. ...
7 years, 9 months ago (2013-03-25 21:28:04 UTC) #3
Pete Williamson
https://codereview.chromium.org/12929014/diff/11001/chrome/browser/extensions/api/identity/identity_api.cc File chrome/browser/extensions/api/identity/identity_api.cc (right): https://codereview.chromium.org/12929014/diff/11001/chrome/browser/extensions/api/identity/identity_api.cc#newcode297 chrome/browser/extensions/api/identity/identity_api.cc:297: content::Details<TokenService::TokenAvailableDetails>(details).ptr(); It seems odd that we aren't doing much ...
7 years, 9 months ago (2013-03-27 18:03:54 UTC) #4
Michael Courage
https://codereview.chromium.org/12929014/diff/11001/chrome/browser/extensions/api/identity/identity_api.cc File chrome/browser/extensions/api/identity/identity_api.cc (right): https://codereview.chromium.org/12929014/diff/11001/chrome/browser/extensions/api/identity/identity_api.cc#newcode297 chrome/browser/extensions/api/identity/identity_api.cc:297: content::Details<TokenService::TokenAvailableDetails>(details).ptr(); On 2013/03/27 18:03:55, Pete Williamson wrote: > It ...
7 years, 9 months ago (2013-03-27 18:40:11 UTC) #5
Pete Williamson
lgtm
7 years, 9 months ago (2013-03-27 20:17:35 UTC) #6
Michael Courage
Hi reviewers, please have a look at this change. atwilson: check out the SigninGlobalError implementation ...
7 years, 9 months ago (2013-03-27 20:44:53 UTC) #7
Michael Courage
Ping. Bug is an M27-stable release blocker. PTAL or let me know if I should ...
7 years, 8 months ago (2013-03-28 17:16:10 UTC) #8
Michael Courage
Ping again. Also, dcheng pointed out that the relationship between interactive_ and should_retry_with_signin_ was not ...
7 years, 8 months ago (2013-03-28 22:48:22 UTC) #9
miket_OOO
lgtm https://codereview.chromium.org/12929014/diff/26001/chrome/browser/extensions/api/identity/identity_api.cc File chrome/browser/extensions/api/identity/identity_api.cc (right): https://codereview.chromium.org/12929014/diff/26001/chrome/browser/extensions/api/identity/identity_api.cc#newcode300 chrome/browser/extensions/api/identity/identity_api.cc:300: const content::NotificationSource& source, indentation got weird here, maybe ...
7 years, 8 months ago (2013-03-29 22:06:22 UTC) #10
Michael Courage
https://codereview.chromium.org/12929014/diff/26001/chrome/browser/extensions/api/identity/identity_api.cc File chrome/browser/extensions/api/identity/identity_api.cc (right): https://codereview.chromium.org/12929014/diff/26001/chrome/browser/extensions/api/identity/identity_api.cc#newcode300 chrome/browser/extensions/api/identity/identity_api.cc:300: const content::NotificationSource& source, On 2013/03/29 22:06:22, miket wrote: > ...
7 years, 8 months ago (2013-03-30 00:18:30 UTC) #11
Michael Courage
+rogerta, Roger could you look at this change also given Drew's absence?
7 years, 8 months ago (2013-04-01 21:57:12 UTC) #12
Roger Tawa OOO till Jul 10th
lgtm with some nits below. https://codereview.chromium.org/12929014/diff/33001/chrome/browser/extensions/api/identity/identity_api.cc File chrome/browser/extensions/api/identity/identity_api.cc (right): https://codereview.chromium.org/12929014/diff/33001/chrome/browser/extensions/api/identity/identity_api.cc#newcode63 chrome/browser/extensions/api/identity/identity_api.cc:63: // Check that the ...
7 years, 8 months ago (2013-04-02 14:41:07 UTC) #13
Michael Courage
https://codereview.chromium.org/12929014/diff/33001/chrome/browser/extensions/api/identity/identity_api.cc File chrome/browser/extensions/api/identity/identity_api.cc (right): https://codereview.chromium.org/12929014/diff/33001/chrome/browser/extensions/api/identity/identity_api.cc#newcode63 chrome/browser/extensions/api/identity/identity_api.cc:63: // Check that the necessary information is present in ...
7 years, 8 months ago (2013-04-02 17:17:49 UTC) #14
Roger Tawa OOO till Jul 10th
https://codereview.chromium.org/12929014/diff/33001/chrome/browser/extensions/api/identity/identity_signin_flow.cc File chrome/browser/extensions/api/identity/identity_signin_flow.cc (right): https://codereview.chromium.org/12929014/diff/33001/chrome/browser/extensions/api/identity/identity_signin_flow.cc#newcode51 chrome/browser/extensions/api/identity/identity_signin_flow.cc:51: } On 2013/04/02 17:17:49, Michael Courage wrote: > On ...
7 years, 8 months ago (2013-04-02 18:00:24 UTC) #15
Michael Courage
> On 2013/04/02 17:17:49, Michael Courage wrote: > > I'll file a separate issue for ...
7 years, 8 months ago (2013-04-02 18:13:59 UTC) #16
Roger Tawa OOO till Jul 10th
OK. Thanks, Roger - On Tue, Apr 2, 2013 at 2:13 PM, <courage@chromium.org> wrote: >> ...
7 years, 8 months ago (2013-04-02 19:24:28 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/courage@chromium.org/12929014/41001
7 years, 8 months ago (2013-04-03 02:32:21 UTC) #18
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/api/identity/identity_api.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-03 02:32:26 UTC) #19
Michael Courage
+estade, Evan, can you do an OWNERS review for chrome/browser/ui/webui/signin/login_ui_service.cc please?
7 years, 8 months ago (2013-04-03 06:18:14 UTC) #20
Evan Stade
lgtm https://codereview.chromium.org/12929014/diff/53001/chrome/browser/ui/webui/signin/login_ui_service.cc File chrome/browser/ui/webui/signin/login_ui_service.cc (right): https://codereview.chromium.org/12929014/diff/53001/chrome/browser/ui/webui/signin/login_ui_service.cc#newcode46 chrome/browser/ui/webui/signin/login_ui_service.cc:46: Browser* browser = FindOrCreateTabbedBrowser(profile_, this isn't implemented on ...
7 years, 8 months ago (2013-04-04 01:25:19 UTC) #21
Michael Courage
https://codereview.chromium.org/12929014/diff/53001/chrome/browser/ui/webui/signin/login_ui_service.cc File chrome/browser/ui/webui/signin/login_ui_service.cc (right): https://codereview.chromium.org/12929014/diff/53001/chrome/browser/ui/webui/signin/login_ui_service.cc#newcode46 chrome/browser/ui/webui/signin/login_ui_service.cc:46: Browser* browser = FindOrCreateTabbedBrowser(profile_, On 2013/04/04 01:25:19, Evan Stade ...
7 years, 8 months ago (2013-04-04 03:38:38 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/courage@chromium.org/12929014/59001
7 years, 8 months ago (2013-04-04 03:49:32 UTC) #23
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 8 months ago (2013-04-04 03:54:08 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/courage@chromium.org/12929014/59001
7 years, 8 months ago (2013-04-04 18:44:46 UTC) #25
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 8 months ago (2013-04-04 19:03:22 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/courage@chromium.org/12929014/59001
7 years, 8 months ago (2013-04-04 23:06:26 UTC) #27
commit-bot: I haz the power
7 years, 8 months ago (2013-04-05 03:31:28 UTC) #28
Message was sent while issue was closed.
Change committed as 192471

Powered by Google App Engine
This is Rietveld 408576698