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

Issue 955283002: Converted remoting.Error from an enum to a class (Closed)

Created:
5 years, 10 months ago by John Williams
Modified:
5 years, 9 months ago
Reviewers:
Jamie, kelvinp
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

Converted remoting.Error to be a class rather than just a string. Committed: https://crrev.com/3cc9f0ac660fe93634f56986681aee6ae6b38988 Cr-Commit-Position: refs/heads/master@{#319824}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Smaller diff. #

Total comments: 16

Patch Set 4 : sync to head #

Patch Set 5 : Requested changes. #

Total comments: 12

Patch Set 6 : #

Patch Set 7 : rebase-update #

Patch Set 8 : #

Total comments: 1

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -198 lines) Patch
M remoting/remoting_webapp_files.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M remoting/webapp/app_remoting/js/app_remoting.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +11 lines, -6 lines 0 comments Download
M remoting/webapp/base/js/application.js View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +4 lines, -4 lines 0 comments Download
M remoting/webapp/browser_test/mock_host_list_api.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/webapp/browser_test/mock_identity.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M remoting/webapp/crd/js/client_session.js View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +14 lines, -9 lines 0 comments Download
M remoting/webapp/crd/js/crd_connect.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M remoting/webapp/crd/js/desktop_remoting.js View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/webapp/crd/js/dns_blackhole_checker.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/error.js View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +36 lines, -84 lines 0 comments Download
M remoting/webapp/crd/js/host_controller.js View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +9 lines, -9 lines 0 comments Download
M remoting/webapp/crd/js/host_daemon_facade.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -4 lines 0 comments Download
M remoting/webapp/crd/js/host_install_dialog.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/webapp/crd/js/host_installer.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/host_list.js View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +4 lines, -4 lines 0 comments Download
M remoting/webapp/crd/js/host_list_api_impl.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/host_screen.js View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +5 lines, -5 lines 0 comments Download
M remoting/webapp/crd/js/host_setup_dialog.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/webapp/crd/js/it2me_connect_flow.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -6 lines 0 comments Download
M remoting/webapp/crd/js/it2me_host_facade.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/webapp/crd/js/oauth2.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/oauth2_api_impl.js View 1 2 3 4 5 6 7 8 9 10 6 chunks +10 lines, -10 lines 0 comments Download
M remoting/webapp/crd/js/remoting.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/server_log_entry.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/session_connector_impl.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -5 lines 0 comments Download
M remoting/webapp/crd/js/wcs_adapter.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/wcs_loader.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -7 lines 0 comments Download
M remoting/webapp/crd/js/xmpp_connection.js View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +15 lines, -11 lines 0 comments Download
M remoting/webapp/crd/js/xmpp_login_handler.js View 1 2 3 4 5 6 7 8 9 10 8 chunks +13 lines, -10 lines 0 comments Download
A remoting/webapp/unittests/error_unittest.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +115 lines, -0 lines 0 comments Download
M remoting/webapp/unittests/mock_signal_strategy.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/unittests/xmpp_connection_unittest.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/unittests/xmpp_login_handler_unittest.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 40 (17 generated)
John Williams
5 years, 10 months ago (2015-02-26 04:47:18 UTC) #2
John Williams
On 2015/02/26 04:47:18, John Williams wrote: Context for this change: This is needed to support ...
5 years, 10 months ago (2015-02-26 04:47:58 UTC) #3
Jamie
Please update the title of this CL, since it's not accurate right now. Otherwise, this ...
5 years, 10 months ago (2015-02-26 18:57:43 UTC) #4
kelvinp
https://codereview.chromium.org/955283002/diff/40001/remoting/webapp/crd/js/error.js File remoting/webapp/crd/js/error.js (right): https://codereview.chromium.org/955283002/diff/40001/remoting/webapp/crd/js/error.js#newcode5 remoting/webapp/crd/js/error.js:5: 'use strict'; consider wrapping this file in a IEFE ...
5 years, 10 months ago (2015-02-27 00:58:07 UTC) #6
John Williams
https://codereview.chromium.org/955283002/diff/40001/remoting/webapp/app_remoting/js/app_remoting.js File remoting/webapp/app_remoting/js/app_remoting.js (right): https://codereview.chromium.org/955283002/diff/40001/remoting/webapp/app_remoting/js/app_remoting.js#newcode194 remoting/webapp/app_remoting/js/app_remoting.js:194: /** @param {!remoting.Error} error */ On 2015/02/26 18:57:42, Jamie ...
5 years, 9 months ago (2015-02-27 21:42:11 UTC) #7
Jamie
LGTM once my comments are addressed. https://codereview.chromium.org/955283002/diff/40001/remoting/webapp/crd/js/desktop_remoting.js File remoting/webapp/crd/js/desktop_remoting.js (right): https://codereview.chromium.org/955283002/diff/40001/remoting/webapp/crd/js/desktop_remoting.js#newcode298 remoting/webapp/crd/js/desktop_remoting.js:298: console.error('Connection failed: %o', ...
5 years, 9 months ago (2015-03-02 18:28:10 UTC) #8
John Williams
https://codereview.chromium.org/955283002/diff/40001/remoting/webapp/crd/js/desktop_remoting.js File remoting/webapp/crd/js/desktop_remoting.js (right): https://codereview.chromium.org/955283002/diff/40001/remoting/webapp/crd/js/desktop_remoting.js#newcode298 remoting/webapp/crd/js/desktop_remoting.js:298: console.error('Connection failed: %o', error); On 2015/03/02 18:28:09, Jamie wrote: ...
5 years, 9 months ago (2015-03-02 22:01:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/955283002/100001
5 years, 9 months ago (2015-03-02 22:03:11 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/1339) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 9 months ago (2015-03-02 22:07:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/955283002/120001
5 years, 9 months ago (2015-03-03 00:28:07 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/29430)
5 years, 9 months ago (2015-03-03 00:42:10 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/955283002/120001
5 years, 9 months ago (2015-03-03 00:45:19 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/40258)
5 years, 9 months ago (2015-03-03 01:05:15 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/955283002/120001
5 years, 9 months ago (2015-03-06 19:48:58 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/2993) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 9 months ago (2015-03-06 19:54:10 UTC) #27
Jamie
https://codereview.chromium.org/955283002/diff/140001/remoting/webapp/crd/js/error.js File remoting/webapp/crd/js/error.js (right): https://codereview.chromium.org/955283002/diff/140001/remoting/webapp/crd/js/error.js#newcode70 remoting/webapp/crd/js/error.js:70: // remoting.Error constructor directly Apologies for adding a comment ...
5 years, 9 months ago (2015-03-09 23:53:45 UTC) #28
John Williams
On 2015/03/09 23:53:45, Jamie wrote: > https://codereview.chromium.org/955283002/diff/140001/remoting/webapp/crd/js/error.js > File remoting/webapp/crd/js/error.js (right): > > https://codereview.chromium.org/955283002/diff/140001/remoting/webapp/crd/js/error.js#newcode70 > ...
5 years, 9 months ago (2015-03-09 23:57:29 UTC) #29
John Williams
5 years, 9 months ago (2015-03-09 23:57:50 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/955283002/160001
5 years, 9 months ago (2015-03-09 23:58:59 UTC) #33
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/66102) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 9 months ago (2015-03-10 00:05:00 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/955283002/180001
5 years, 9 months ago (2015-03-10 00:15:35 UTC) #38
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 9 months ago (2015-03-10 02:31:21 UTC) #39
commit-bot: I haz the power
5 years, 9 months ago (2015-03-10 02:32:25 UTC) #40
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/3cc9f0ac660fe93634f56986681aee6ae6b38988
Cr-Commit-Position: refs/heads/master@{#319824}

Powered by Google App Engine
This is Rietveld 408576698