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

Issue 1091103002: [Webapp Refactor] Fix styles in SmartReconnector. (Closed)

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

Description

[Webapp Refactor] Fix styles in SmartReconnector to be consistent with the rest of the codebase. Summary of changes: 1. Uses base.OneShotTimer 2. Uses base.EventHooks 3. Uses SmartReconnector.prototype.foo = function() {...} instead of SmartReconnector.prototype = { foo: function() {...}, } 4 Removes this.bound_ BUG= Committed: https://crrev.com/18bad48c097ce68bccf2064daf41f6f6bb3649df Cr-Commit-Position: refs/heads/master@{#325578}

Patch Set 1 : Style updates #

Patch Set 2 : Use base.OneShotTimer and base.EventHooks #

Total comments: 13

Patch Set 3 : Reviewer's feedback #

Patch Set 4 : Fix Indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -84 lines) Patch
M remoting/webapp/base/js/base.js View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
M remoting/webapp/crd/js/smart_reconnector.js View 1 2 3 2 chunks +75 lines, -84 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
kelvinp
PTAL
5 years, 8 months ago (2015-04-16 19:35:03 UTC) #2
Jamie
https://codereview.chromium.org/1091103002/diff/20001/remoting/webapp/base/js/base.js File remoting/webapp/base/js/base.js (right): https://codereview.chromium.org/1091103002/diff/20001/remoting/webapp/base/js/base.js#newcode680 remoting/webapp/base/js/base.js:680: window.clearInterval(this.intervalId_); I think you need to route the callback ...
5 years, 8 months ago (2015-04-16 20:05:49 UTC) #3
kelvinp
PTAL https://codereview.chromium.org/1091103002/diff/20001/remoting/webapp/base/js/base.js File remoting/webapp/base/js/base.js (right): https://codereview.chromium.org/1091103002/diff/20001/remoting/webapp/base/js/base.js#newcode680 remoting/webapp/base/js/base.js:680: window.clearInterval(this.intervalId_); On 2015/04/16 20:05:49, Jamie wrote: > I ...
5 years, 8 months ago (2015-04-16 20:57:59 UTC) #4
Jamie
lgtm https://codereview.chromium.org/1091103002/diff/20001/remoting/webapp/base/js/base.js File remoting/webapp/base/js/base.js (right): https://codereview.chromium.org/1091103002/diff/20001/remoting/webapp/base/js/base.js#newcode680 remoting/webapp/base/js/base.js:680: window.clearInterval(this.intervalId_); On 2015/04/16 20:57:58, kelvinp wrote: > On ...
5 years, 8 months ago (2015-04-17 00:02:47 UTC) #5
kelvinp
FYI https://codereview.chromium.org/1091103002/diff/20001/remoting/webapp/crd/js/smart_reconnector.js File remoting/webapp/crd/js/smart_reconnector.js (right): https://codereview.chromium.org/1091103002/diff/20001/remoting/webapp/crd/js/smart_reconnector.js#newcode100 remoting/webapp/crd/js/smart_reconnector.js:100: this.pending_ = new base.DomEventHook( On 2015/04/17 00:02:47, Jamie ...
5 years, 8 months ago (2015-04-17 00:12:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091103002/60001
5 years, 8 months ago (2015-04-17 00:13:59 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-17 01:57:42 UTC) #10
commit-bot: I haz the power
5 years, 8 months ago (2015-04-17 01:58:40 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/18bad48c097ce68bccf2064daf41f6f6bb3649df
Cr-Commit-Position: refs/heads/master@{#325578}

Powered by Google App Engine
This is Rietveld 408576698