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

Issue 1101613003: [Webapp Refactor] Reliably cancels a connection. (Closed)

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

Description

[Webapp Refactor] Reliably cancels a connection. Prior to this CL, clicking cancel on the connecting dialog simply returns the user to the home screen, without disconnecting the session or cleaning up any related resources. This CL provides a cleaner way to cancel a session with by implementing remoting.ConnectingDialog which calls stop() on the activity. BUG=477522 Committed: https://crrev.com/e45afaccefbe7b093c7052ac475e9f3168f1c3c2 Cr-Commit-Position: refs/heads/master@{#326926}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Separate into 2 CLs #

Patch Set 3 : Reviewer's feedback #

Total comments: 7

Patch Set 4 : Reviewer's feedback #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -33 lines) Patch
M remoting/webapp/base/js/modal_dialogs.js View 1 2 3 4 4 chunks +42 lines, -5 lines 0 comments Download
M remoting/webapp/crd/js/client_session.js View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/webapp/crd/js/crd_event_handlers.js View 2 chunks +0 lines, -8 lines 0 comments Download
M remoting/webapp/crd/js/desktop_remoting.js View 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/desktop_remoting_activity.js View 1 2 3 4 5 chunks +14 lines, -1 line 0 comments Download
M remoting/webapp/crd/js/it2me_activity.js View 1 2 3 4 4 chunks +6 lines, -6 lines 0 comments Download
M remoting/webapp/crd/js/me2me_activity.js View 1 2 3 4 7 chunks +14 lines, -8 lines 0 comments Download
M remoting/webapp/crd/js/smart_reconnector.js View 1 2 3 4 4 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
kelvinp
PTAL https://codereview.chromium.org/1101613003/diff/1/remoting/webapp/crd/js/crd_event_handlers.js File remoting/webapp/crd/js/crd_event_handlers.js (left): https://codereview.chromium.org/1101613003/diff/1/remoting/webapp/crd/js/crd_event_handlers.js#oldcode14 remoting/webapp/crd/js/crd_event_handlers.js:14: var goFinishedIT2Me = function() { Dead code.
5 years, 8 months ago (2015-04-22 01:19:01 UTC) #2
Jamie
Can this be split into multiple CLs? It feels like the three points you call ...
5 years, 8 months ago (2015-04-22 23:11:55 UTC) #4
kelvinp
PTAL https://codereview.chromium.org/1101613003/diff/1/remoting/webapp/base/js/modal_dialogs.js File remoting/webapp/base/js/modal_dialogs.js (right): https://codereview.chromium.org/1101613003/diff/1/remoting/webapp/base/js/modal_dialogs.js#newcode139 remoting/webapp/base/js/modal_dialogs.js:139: remoting.MessageDialog.prototype.reset = function() { On 2015/04/22 23:11:55, Jamie ...
5 years, 8 months ago (2015-04-23 01:17:23 UTC) #6
kelvinp
On 2015/04/23 01:17:23, kelvinp wrote: > PTAL > > https://codereview.chromium.org/1101613003/diff/1/remoting/webapp/base/js/modal_dialogs.js > File remoting/webapp/base/js/modal_dialogs.js (right): > ...
5 years, 8 months ago (2015-04-23 23:09:56 UTC) #8
Jamie
https://codereview.chromium.org/1101613003/diff/1/remoting/webapp/base/js/modal_dialogs.js File remoting/webapp/base/js/modal_dialogs.js (right): https://codereview.chromium.org/1101613003/diff/1/remoting/webapp/base/js/modal_dialogs.js#newcode157 remoting/webapp/base/js/modal_dialogs.js:157: * on the cancel button. On 2015/04/23 01:17:23, kelvinp ...
5 years, 8 months ago (2015-04-24 17:59:18 UTC) #9
kelvinp
PTAL https://codereview.chromium.org/1101613003/diff/1/remoting/webapp/base/js/modal_dialogs.js File remoting/webapp/base/js/modal_dialogs.js (right): https://codereview.chromium.org/1101613003/diff/1/remoting/webapp/base/js/modal_dialogs.js#newcode157 remoting/webapp/base/js/modal_dialogs.js:157: * on the cancel button. On 2015/04/24 17:59:18, ...
5 years, 8 months ago (2015-04-24 19:03:52 UTC) #11
Jamie
LGTM with one bugfix. https://codereview.chromium.org/1101613003/diff/80001/remoting/webapp/base/js/modal_dialogs.js File remoting/webapp/base/js/modal_dialogs.js (right): https://codereview.chromium.org/1101613003/diff/80001/remoting/webapp/base/js/modal_dialogs.js#newcode157 remoting/webapp/base/js/modal_dialogs.js:157: this.deferred_ = null; On 2015/04/24 ...
5 years, 8 months ago (2015-04-24 20:19:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1101613003/140001
5 years, 8 months ago (2015-04-24 22:12:02 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:140001)
5 years, 8 months ago (2015-04-24 23:09:18 UTC) #16
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 23:10:06 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e45afaccefbe7b093c7052ac475e9f3168f1c3c2
Cr-Commit-Position: refs/heads/master@{#326926}

Powered by Google App Engine
This is Rietveld 408576698