Fix enable remote connections in v2 app
commit7e5daa0cd4c5bb0a95ecd9fadda63aa45d7518aa
authorkelvinp <kelvinp@chromium.org>
Fri, 23 Jan 2015 04:07:04 +0000 (22 20:07 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 23 Jan 2015 04:08:01 +0000 (23 04:08 +0000)
tree8b9f1aae0ad5500ae217e4366005b90306e9523b
parent7e15b48de4a89487354e42b83ab35ac22b066ae5
Fix enable remote connections in v2 app

Cause:
remoting.identity.getEmail() is only implemented on the v1 implemenation
(remoting.OAuth2) but not in v2 implemenation (remoting.Identity).

Fix:
Implements remoting.Identity.prototype.getEmail().

BUG=450864

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

Cr-Commit-Position: refs/heads/master@{#312769}
remoting/webapp/crd/js/identity.js