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

Issue 256623002: Implemented inline login dialog for Chrome OS. (Closed)

Created:
6 years, 8 months ago by dzhioev (left Google)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, sadrul, nkostylev+watch_chromium.org, tfarina, ben+ash_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Implemented inline login dialog for Chrome OS. Also StubUserAccountsDelegate was replaced with real implementation, so now we have fully functional version of mirror UI on Chrome OS. BUG=344844 TEST=manually Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269792

Patch Set 1 #

Total comments: 20

Patch Set 2 : Comments addressed. #

Total comments: 15

Patch Set 3 : #

Patch Set 4 : More comments addressed. #

Total comments: 2

Patch Set 5 : Merged SetExtraInitParams. #

Total comments: 5

Patch Set 6 : Merge conflicts resolved. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -153 lines) Patch
M ash/system/tray/tray_constants.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/user/accounts_detailed_view.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/user/user_accounts_delegate.h View 1 2 3 1 chunk +5 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/login/oauth2_login_manager.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/oauth2_token_fetcher.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/oauth2_token_fetcher.cc View 3 chunks +18 lines, -14 lines 0 comments Download
A + chrome/browser/chromeos/ui/inline_login_dialog.h View 1 2 2 chunks +17 lines, -22 lines 0 comments Download
A chrome/browser/chromeos/ui/inline_login_dialog.cc View 1 2 1 chunk +81 lines, -0 lines 0 comments Download
M chrome/browser/extensions/signin/gaia_auth_extension_loader.cc View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/stub_user_accounts_delegate.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/stub_user_accounts_delegate.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 2 3 4 5 2 chunks +8 lines, -13 lines 0 comments Download
A chrome/browser/ui/ash/user_accounts_delegate_chromeos.h View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc View 1 2 3 1 chunk +85 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc View 1 2 3 4 4 chunks +33 lines, -11 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler.cc View 1 2 3 4 5 4 chunks +72 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.cc View 1 2 3 4 5 3 chunks +2 lines, -70 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/controls/webview/web_dialog_view.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/web_dialogs/web_dialog_delegate.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ui/web_dialogs/web_dialog_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
dzhioev (left Google)
Hi, please review. xiyuan@: chrome/browser/chromeos/* chrome/browser/extensions/signin/* chrome/browser/ui/webui/* oshima@: */ash/* ben@: ui/*
6 years, 8 months ago (2014-04-24 20:06:39 UTC) #1
xiyuan
https://codereview.chromium.org/256623002/diff/1/ash/system/user/user_accounts_delegate.h File ash/system/user/user_accounts_delegate.h (right): https://codereview.chromium.org/256623002/diff/1/ash/system/user/user_accounts_delegate.h#newcode47 ash/system/user/user_accounts_delegate.h:47: // name "Test-us.er@gmail.com". Why changing this? Anything no longer ...
6 years, 8 months ago (2014-04-24 21:22:10 UTC) #2
dzhioev (left Google)
https://codereview.chromium.org/256623002/diff/1/ash/system/user/user_accounts_delegate.h File ash/system/user/user_accounts_delegate.h (right): https://codereview.chromium.org/256623002/diff/1/ash/system/user/user_accounts_delegate.h#newcode47 ash/system/user/user_accounts_delegate.h:47: // name "Test-us.er@gmail.com". On 2014/04/24 21:22:10, xiyuan wrote: > ...
6 years, 8 months ago (2014-04-24 22:06:19 UTC) #3
xiyuan
https://codereview.chromium.org/256623002/diff/1/chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc File chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc (right): https://codereview.chromium.org/256623002/diff/1/chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc#newcode35 chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc:35: ->GetAuthenticatedUsername(); The plan is to make GetAuthenticatedAccountId return obfuscated ...
6 years, 8 months ago (2014-04-24 22:31:51 UTC) #4
dzhioev (left Google)
+rogerta@ https://codereview.chromium.org/256623002/diff/1/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc File chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc (right): https://codereview.chromium.org/256623002/diff/1/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc#newcode81 chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc:81: "https://www.google.com/intl/en-US/chrome/blank.html?source=10"); On 2014/04/24 22:31:51, xiyuan wrote: > On ...
6 years, 8 months ago (2014-04-24 23:05:47 UTC) #5
oshima
ash/ lgtm https://codereview.chromium.org/256623002/diff/20001/chrome/browser/chromeos/login/oauth2_login_manager.cc File chrome/browser/chromeos/login/oauth2_login_manager.cc (right): https://codereview.chromium.org/256623002/diff/20001/chrome/browser/chromeos/login/oauth2_login_manager.cc#newcode223 chrome/browser/chromeos/login/oauth2_login_manager.cc:223: oauth2_token_fetcher_->StartExchangeFromCookies(""); std::string()
6 years, 8 months ago (2014-04-24 23:47:15 UTC) #6
dzhioev (left Google)
Oh, I've forgotten to actually add Roger as a reviewer. Roger, should I add Chrome ...
6 years, 7 months ago (2014-04-28 15:36:12 UTC) #7
Roger Tawa OOO till Jul 10th
Adding Hui for review of the inline login handler code. Wrt "source", I guess you ...
6 years, 7 months ago (2014-04-28 19:06:21 UTC) #8
dzhioev (left Google)
https://codereview.chromium.org/256623002/diff/20001/chrome/browser/chromeos/login/oauth2_login_manager.cc File chrome/browser/chromeos/login/oauth2_login_manager.cc (right): https://codereview.chromium.org/256623002/diff/20001/chrome/browser/chromeos/login/oauth2_login_manager.cc#newcode223 chrome/browser/chromeos/login/oauth2_login_manager.cc:223: oauth2_token_fetcher_->StartExchangeFromCookies(""); On 2014/04/24 23:47:16, oshima wrote: > std::string() Done. ...
6 years, 7 months ago (2014-04-28 19:49:16 UTC) #9
Roger Tawa OOO till Jul 10th
lgtm I think the rafactoring I was asking about should happen separately. https://codereview.chromium.org/256623002/diff/20001/chrome/browser/chromeos/login/oauth2_token_fetcher.h File chrome/browser/chromeos/login/oauth2_token_fetcher.h ...
6 years, 7 months ago (2014-04-29 00:03:25 UTC) #10
dzhioev (left Google)
Hui and Xiyuan, I will be very grateful if you find a time to review ...
6 years, 7 months ago (2014-04-29 12:23:58 UTC) #11
guohui
lgtm with one comment. https://codereview.chromium.org/256623002/diff/60001/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc File chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc (right): https://codereview.chromium.org/256623002/diff/60001/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc#newcode66 chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc:66: params.SetInteger("authMode", InlineLoginHandler::kDesktopAuthMode); most code here ...
6 years, 7 months ago (2014-04-29 13:33:06 UTC) #12
dzhioev (left Google)
https://codereview.chromium.org/256623002/diff/60001/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc File chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc (right): https://codereview.chromium.org/256623002/diff/60001/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc#newcode66 chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc:66: params.SetInteger("authMode", InlineLoginHandler::kDesktopAuthMode); On 2014/04/29 13:33:07, guohui wrote: > most ...
6 years, 7 months ago (2014-04-29 14:27:21 UTC) #13
guohui
On 2014/04/29 14:27:21, dzhioev wrote: > https://codereview.chromium.org/256623002/diff/60001/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc > File chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc > (right): > > https://codereview.chromium.org/256623002/diff/60001/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc#newcode66 ...
6 years, 7 months ago (2014-04-29 15:58:57 UTC) #14
xiyuan
On 2014/04/29 15:58:57, guohui wrote: > desktop implementation does support SAML, we just don't set ...
6 years, 7 months ago (2014-04-29 16:31:14 UTC) #15
xiyuan
LGTM ben@ please review the web_dialog part where a CanResizeDialog is exposed on WebDialogDelegate so ...
6 years, 7 months ago (2014-04-29 16:43:15 UTC) #16
Ben Goodger (Google)
ui lgtm
6 years, 7 months ago (2014-04-29 16:57:20 UTC) #17
Nikita (slow)
The CQ bit was checked by nkostylev@chromium.org
6 years, 7 months ago (2014-05-06 15:25:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dzhioev@chromium.org/256623002/70001
6 years, 7 months ago (2014-05-06 15:25:45 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-06 15:52:27 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #2). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-06 16:19:34 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-06 16:22:40 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium linux_chromium_chromeos_clang_dbg on tryserver.chromium linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 7 months ago (2014-05-06 16:22:41 UTC) #23
dzhioev (left Google)
The CQ bit was checked by dzhioev@chromium.org
6 years, 7 months ago (2014-05-12 12:41:25 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dzhioev@chromium.org/256623002/80001
6 years, 7 months ago (2014-05-12 12:41:52 UTC) #25
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-12 14:25:24 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-12 15:03:20 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/152958)
6 years, 7 months ago (2014-05-12 15:03:20 UTC) #28
dzhioev (left Google)
The CQ bit was checked by dzhioev@chromium.org
6 years, 7 months ago (2014-05-12 15:24:59 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dzhioev@chromium.org/256623002/80001
6 years, 7 months ago (2014-05-12 15:25:42 UTC) #30
commit-bot: I haz the power
6 years, 7 months ago (2014-05-12 16:08:31 UTC) #31
Message was sent while issue was closed.
Change committed as 269792

Powered by Google App Engine
This is Rietveld 408576698