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

Issue 896003002: Use the local user's email when connecting to It2MeHelpeeChannel (Closed)

Created:
5 years, 10 months ago by kelvinp
Modified:
5 years, 10 months ago
Reviewers:
Jamie, dcaiafa
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@HRD_V2Auth
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use the local user's email when connecting to It2MeHelpeeChannel An It2Me connection requires an email for domain policy check. We should use the email of the helpee instead of the helper. Summary of changes: 1. Modifies it2meHelpeeChannel to fetch its token and the user's credentials using remoting.identity. 2. Implement the background page as an object to initialize remoting.identity appropriately. 3. Makes the consentDialog argument optional in remoting.identity as user consent is suggested as opposed to required in the chrome identity API. BUG=454897 Committed: https://crrev.com/5e4c4c5a1cabe2e05cb0cd70b15b1afb507b9d8e Cr-Commit-Position: refs/heads/master@{#314651}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Reviewer's feedback (Dan) #

Patch Set 3 : Fix unit test failure and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -74 lines) Patch
M remoting/remoting_webapp_files.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/webapp/base/js/base.js View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/webapp/crd/js/background.js View 1 1 chunk +55 lines, -29 lines 0 comments Download
M remoting/webapp/crd/js/identity.js View 1 3 chunks +7 lines, -5 lines 0 comments Download
M remoting/webapp/crd/js/it2me_helpee_channel.js View 1 3 chunks +37 lines, -26 lines 0 comments Download
M remoting/webapp/crd/js/it2me_service.js View 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/webapp/unittests/it2me_helpee_channel_unittest.js View 1 2 4 chunks +9 lines, -14 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
kelvinp
PTAL https://codereview.chromium.org/896003002/diff/60001/remoting/webapp/crd/js/it2me_helpee_channel.js File remoting/webapp/crd/js/it2me_helpee_channel.js (right): https://codereview.chromium.org/896003002/diff/60001/remoting/webapp/crd/js/it2me_helpee_channel.js#newcode264 remoting/webapp/crd/js/it2me_helpee_channel.js:264: /** @param {{email:string, token:string}|Promise} result */ (| Promise) ...
5 years, 10 months ago (2015-02-03 23:11:09 UTC) #5
dcaiafa
https://codereview.chromium.org/896003002/diff/60001/remoting/webapp/crd/js/background.js File remoting/webapp/crd/js/background.js (right): https://codereview.chromium.org/896003002/diff/60001/remoting/webapp/crd/js/background.js#newcode19 remoting/webapp/crd/js/background.js:19: * @type {remoting.AppLauncher} nit: do you guys know about ...
5 years, 10 months ago (2015-02-04 00:12:35 UTC) #6
kelvinp
PTAL https://codereview.chromium.org/896003002/diff/60001/remoting/webapp/crd/js/background.js File remoting/webapp/crd/js/background.js (right): https://codereview.chromium.org/896003002/diff/60001/remoting/webapp/crd/js/background.js#newcode19 remoting/webapp/crd/js/background.js:19: * @type {remoting.AppLauncher} On 2015/02/04 00:12:35, dcaiafa wrote: ...
5 years, 10 months ago (2015-02-04 00:38:14 UTC) #7
dcaiafa
I'm not super familiar with this code, and I had to take a refresh-course on ...
5 years, 10 months ago (2015-02-04 01:00:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/896003002/80001
5 years, 10 months ago (2015-02-04 01:04:45 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/21188)
5 years, 10 months ago (2015-02-04 01:59:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/896003002/100001
5 years, 10 months ago (2015-02-04 18:49:50 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/30598)
5 years, 10 months ago (2015-02-04 19:32:06 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/896003002/100001
5 years, 10 months ago (2015-02-04 21:27:04 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:100001)
5 years, 10 months ago (2015-02-04 22:08:06 UTC) #20
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 22:09:06 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5e4c4c5a1cabe2e05cb0cd70b15b1afb507b9d8e
Cr-Commit-Position: refs/heads/master@{#314651}

Powered by Google App Engine
This is Rietveld 408576698