[Chromoting] Remove initIdentityEmail.
commitc25636e6d76327ad61b6a561c4ca8805ef130984
authorGary Kacmarcik <garykac@google.com>
Sat, 20 Dec 2014 00:25:16 +0000 (19 16:25 -0800)
committerGary Kacmarcik <garykac@google.com>
Sat, 20 Dec 2014 00:27:46 +0000 (20 00:27 +0000)
tree06c1262688f6e65b771a5a5e27fb70c07633014a
parent0acfe7f951cf77a23034866b411923a8fe95a67f
[Chromoting] Remove initIdentityEmail.

No longer being used in CRD since we've switched to initIdentityUserInfo.
This cl removes the remaining identity/email functions since all apps are
now using the userinfo versions.

* Removes initIdentityEmail since it is no longer being used
* Replaces onEmailAvailable (crd_main.js) with onUserInfoAvailable (desktop_remoting.js)
* Folds initIdentityUserInfo into initIdentity since it is now being used by all apps (CRD and AR).

NOTRY=True
BUG=444175
R=weitaosu@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#309308}
remoting/webapp/base/js/auth_init.js
remoting/webapp/crd/js/crd_main.js
remoting/webapp/crd/js/desktop_remoting.js