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

Issue 1070223003: [Webapp Refactor] Remove remoting.js. (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] Remove remoting.js. This CL cleanups the globals in remoting.js and removes the file itself. Summary of changes: 1. remoting.getExtensionInfo() -> Application.getExtenstionInfo() 2. remoting.timestamp() -> base.timeStamp() I also simplified the implementation with Date.getISOString() instead of a custom formatter. 3. remoting.initGlobalObjects() -> Application.initGlobalObjects_() 4. remoting.formatIq -> ClientSession.iqFormatter_ BUG=477119 Committed: https://crrev.com/cf44a11dfcb30a7ea7f9a5bec7306ff7bb25db53 Cr-Commit-Position: refs/heads/master@{#325580}

Patch Set 1 : Remove remoting.js #

Total comments: 7

Patch Set 2 : Reviewer's feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -112 lines) Patch
M remoting/remoting_webapp_files.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M remoting/webapp/base/js/application.js View 3 chunks +44 lines, -1 line 0 comments Download
M remoting/webapp/base/js/base.js View 1 chunk +10 lines, -0 lines 0 comments Download
M remoting/webapp/crd/js/client_session.js View 1 3 chunks +7 lines, -4 lines 0 comments Download
M remoting/webapp/crd/js/feedback.js View 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/format_iq.js View 1 5 chunks +11 lines, -22 lines 0 comments Download
D remoting/webapp/crd/js/remoting.js View 1 chunk +0 lines, -83 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
kelvinp
PTAL https://codereview.chromium.org/1070223003/diff/20001/remoting/webapp/base/js/application.js File remoting/webapp/base/js/application.js (right): https://codereview.chromium.org/1070223003/diff/20001/remoting/webapp/base/js/application.js#newcode108 remoting/webapp/base/js/application.js:108: remoting.Application.prototype.initGlobalObjects_ = function() { previously remoting.initGlobalObjects() https://codereview.chromium.org/1070223003/diff/20001/remoting/webapp/base/js/application.js#newcode132 remoting/webapp/base/js/application.js:132: ...
5 years, 8 months ago (2015-04-16 18:13:01 UTC) #3
Jamie
LFGTM! https://codereview.chromium.org/1070223003/diff/20001/remoting/webapp/crd/js/client_session.js File remoting/webapp/crd/js/client_session.js (right): https://codereview.chromium.org/1070223003/diff/20001/remoting/webapp/crd/js/client_session.js#newcode63 remoting/webapp/crd/js/client_session.js:63: this.iqFormatter_.setJids(this.signalStrategy_.getJid(), host.jabberId); Move these to ctor parameters now ...
5 years, 8 months ago (2015-04-16 20:15:30 UTC) #4
Jamie
Awww, I thought that acronym also worked :( LGTM.
5 years, 8 months ago (2015-04-16 20:16:00 UTC) #5
kelvinp
FYI https://codereview.chromium.org/1070223003/diff/20001/remoting/webapp/crd/js/client_session.js File remoting/webapp/crd/js/client_session.js (right): https://codereview.chromium.org/1070223003/diff/20001/remoting/webapp/crd/js/client_session.js#newcode405 remoting/webapp/crd/js/client_session.js:405: console.log(base.timestamp(), this.iqFormatter_.prettifyReceiveIq(formatted)); On 2015/04/16 20:15:29, Jamie wrote: > ...
5 years, 8 months ago (2015-04-16 21:18:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1070223003/40001
5 years, 8 months ago (2015-04-16 21:46:07 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/49094)
5 years, 8 months ago (2015-04-16 23:25:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1070223003/40001
5 years, 8 months ago (2015-04-16 23:27:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1070223003/40001
5 years, 8 months ago (2015-04-17 00:07:06 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 8 months ago (2015-04-17 01:58:55 UTC) #17
commit-bot: I haz the power
5 years, 8 months ago (2015-04-17 02:00:05 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cf44a11dfcb30a7ea7f9a5bec7306ff7bb25db53
Cr-Commit-Position: refs/heads/master@{#325580}

Powered by Google App Engine
This is Rietveld 408576698