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

Issue 937593002: Changed identity API to use promises instead of callbacks. (Closed)

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

Description

Changed identity API to use promises instead of callbacks. BUG= Committed: https://crrev.com/cbc052cd81ae44e6adafb77e21f7fe98ef417c90 Cr-Commit-Position: refs/heads/master@{#318134}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Changes suggested by kelvinp. #

Patch Set 3 : Sync to head. #

Patch Set 4 : fixed bad merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -261 lines) Patch
M remoting/webapp/base/js/auth_dialog.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/base/js/auth_init.js View 2 chunks +7 lines, -3 lines 0 comments Download
M remoting/webapp/base/js/base.js View 1 2 3 chunks +5 lines, -7 lines 0 comments Download
M remoting/webapp/crd/js/apps_v2_migration.js View 2 chunks +4 lines, -6 lines 0 comments Download
M remoting/webapp/crd/js/client_session.js View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M remoting/webapp/crd/js/crd_event_handlers.js View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
M remoting/webapp/crd/js/error.js View 1 chunk +62 lines, -0 lines 0 comments Download
M remoting/webapp/crd/js/hangout_consent_dialog.js View 1 1 chunk +0 lines, -1 line 0 comments Download
M remoting/webapp/crd/js/host_controller.js View 1 2 4 chunks +11 lines, -7 lines 0 comments Download
M remoting/webapp/crd/js/host_list_api_impl.js View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/webapp/crd/js/host_screen.js View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/webapp/crd/js/host_setup_dialog.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/webapp/crd/js/identity.js View 1 2 6 chunks +91 lines, -109 lines 0 comments Download
M remoting/webapp/crd/js/it2me_helpee_channel.js View 1 2 2 chunks +15 lines, -32 lines 0 comments Download
M remoting/webapp/crd/js/oauth2.js View 1 2 2 chunks +68 lines, -63 lines 0 comments Download
M remoting/webapp/crd/js/remoting.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/session_connector_impl.js View 1 2 3 3 chunks +12 lines, -9 lines 0 comments Download
M remoting/webapp/crd/js/wcs_sandbox_container.js View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M remoting/webapp/unittests/apps_v2_migration_unittest.js View 1 chunk +10 lines, -3 lines 0 comments Download
M remoting/webapp/unittests/it2me_helpee_channel_unittest.js View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (11 generated)
John Williams
My attempt at properly converting the remoting identity API to use promises. The main file ...
5 years, 10 months ago (2015-02-18 00:45:54 UTC) #2
Jamie
When specifying multiple reviewers, please be explicit about who you're asking to review each component. ...
5 years, 10 months ago (2015-02-18 01:03:03 UTC) #4
kelvinp
On 2015/02/18 01:03:03, Jamie wrote: > When specifying multiple reviewers, please be explicit about who ...
5 years, 10 months ago (2015-02-18 01:13:01 UTC) #5
kelvinp
Thank you for doing the change. Mostly look good, just a suggestion on using base.Deferred ...
5 years, 10 months ago (2015-02-18 19:45:25 UTC) #6
Jamie
On 2015/02/18 00:45:54, John Williams wrote: > My attempt at properly converting the remoting identity ...
5 years, 10 months ago (2015-02-18 19:55:57 UTC) #7
John Williams
On 2015/02/18 19:55:57, Jamie wrote: > On 2015/02/18 00:45:54, John Williams wrote: > > My ...
5 years, 10 months ago (2015-02-18 20:28:04 UTC) #8
John Williams
https://codereview.chromium.org/937593002/diff/1/remoting/webapp/crd/js/identity.js File remoting/webapp/crd/js/identity.js (right): https://codereview.chromium.org/937593002/diff/1/remoting/webapp/crd/js/identity.js#newcode64 remoting/webapp/crd/js/identity.js:64: this.pendingPromise_ = new Promise(function( On 2015/02/18 19:45:24, kelvinp wrote: ...
5 years, 10 months ago (2015-02-18 20:28:22 UTC) #9
kelvinp
lgtm
5 years, 10 months ago (2015-02-18 21:33:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/937593002/20001
5 years, 10 months ago (2015-02-24 01:27:06 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/61365)
5 years, 10 months ago (2015-02-24 01:34:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/937593002/40001
5 years, 10 months ago (2015-02-24 03:45:54 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/26753)
5 years, 10 months ago (2015-02-24 05:04:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/937593002/60001
5 years, 10 months ago (2015-02-25 21:50:51 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-25 22:57:08 UTC) #25
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 22:58:06 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cbc052cd81ae44e6adafb77e21f7fe98ef417c90
Cr-Commit-Position: refs/heads/master@{#318134}

Powered by Google App Engine
This is Rietveld 408576698