Hotrod shark controller ported to the new GAIA flow.
commita11eadfb46f6d9656938b66a5439f8d63bac2a4c
authordzhioev <dzhioev@chromium.org>
Sat, 25 Jul 2015 05:23:58 +0000 (24 22:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 25 Jul 2015 05:24:28 +0000 (25 05:24 +0000)
tree7b3bf16a25557e2f54e91c69d4393f9c6acca81b
parent40f883687274257f05d2f933602318fcc6a5ed7f
Hotrod shark controller ported to the new GAIA flow.

Before this change shark controller fetched two OA2RT using login WebUI context
(cookies), and then for each RT fetched an OA2AT.
Now it fetches a single OA2RT using the auth code, and fetches two OA2AT using
the single RT.

TEST=manually (shark<->remora pairing works, regular enrollment works)
BUG=471744

Review URL: https://codereview.chromium.org/1235913003

Cr-Commit-Position: refs/heads/master@{#340402}
chrome/browser/chromeos/login/enrollment/enrollment_screen.cc
chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.h
chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.cc
chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.h
chrome/browser/chromeos/login/saml/saml_browsertest.cc
chrome/browser/chromeos/login/startup_utils.cc