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

Issue 1217643002: Added HostListApl implementation to connect to legacy directory and GCD. (Closed)

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

Description

Added HostListApl implementation to connect to legacy directory and GCD. The new implementation (CombinedHostListApi) attempts to keep the two directories in sync and present a merged view of the contents of the directories. BUG=503790 Committed: https://crrev.com/43c0916a502dc87c79e59754b37e79a4fe00acea Cr-Commit-Position: refs/heads/master@{#339737}

Patch Set 1 #

Total comments: 10

Patch Set 2 : for review #

Patch Set 3 : alignment fix #

Patch Set 4 : renamed unit test module #

Patch Set 5 : changed LegacyHostListApi not to expect auth code with not client ID #

Total comments: 4

Patch Set 6 : rewrote code for combining host lists #

Total comments: 2

Patch Set 7 : yet another rewrite of host merging logic #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+445 lines, -67 lines) Patch
M remoting/remoting_webapp_files.gypi View 1 2 chunks +2 lines, -0 lines 0 comments Download
M remoting/webapp/base/js/host.js View 1 1 chunk +4 lines, -1 line 0 comments Download
A remoting/webapp/crd/js/combined_host_list_api.js View 1 2 3 4 5 6 1 chunk +197 lines, -0 lines 1 comment Download
A remoting/webapp/crd/js/combined_host_list_api_unittest.js View 1 2 3 1 chunk +176 lines, -0 lines 0 comments Download
M remoting/webapp/crd/js/host_controller.js View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/host_list_api.js View 1 1 chunk +7 lines, -3 lines 0 comments Download
M remoting/webapp/crd/js/legacy_host_list_api.js View 1 2 3 4 2 chunks +19 lines, -1 line 0 comments Download
M remoting/webapp/crd/js/legacy_host_list_api_unittest.js View 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/mock_host_list_api.js View 1 4 chunks +38 lines, -60 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
John Williams
5 years, 6 months ago (2015-06-27 01:48:02 UTC) #2
John Williams
https://codereview.chromium.org/1217643002/diff/1/remoting/webapp/crd/js/legacy_host_list_api.js File remoting/webapp/crd/js/legacy_host_list_api.js (right): https://codereview.chromium.org/1217643002/diff/1/remoting/webapp/crd/js/legacy_host_list_api.js#newcode29 remoting/webapp/crd/js/legacy_host_list_api.js:29: newHostId, hostName, publicKey, hostClientId); I split the implementation of ...
5 years, 5 months ago (2015-06-29 19:45:06 UTC) #3
kelvinp
https://codereview.chromium.org/1217643002/diff/1/remoting/webapp/base/js/plugin_settings.js File remoting/webapp/base/js/plugin_settings.js (right): https://codereview.chromium.org/1217643002/diff/1/remoting/webapp/base/js/plugin_settings.js#newcode70 remoting/webapp/base/js/plugin_settings.js:70: /** @const {boolean} If true, use GCD instead of ...
5 years, 5 months ago (2015-06-29 23:53:45 UTC) #5
John Williams
https://codereview.chromium.org/1217643002/diff/1/remoting/webapp/base/js/plugin_settings.js File remoting/webapp/base/js/plugin_settings.js (right): https://codereview.chromium.org/1217643002/diff/1/remoting/webapp/base/js/plugin_settings.js#newcode70 remoting/webapp/base/js/plugin_settings.js:70: /** @const {boolean} If true, use GCD instead of ...
5 years, 5 months ago (2015-07-17 23:29:33 UTC) #9
kelvinp
https://codereview.chromium.org/1217643002/diff/80001/remoting/webapp/base/js/base.js File remoting/webapp/base/js/base.js (right): https://codereview.chromium.org/1217643002/diff/80001/remoting/webapp/base/js/base.js#newcode235 remoting/webapp/base/js/base.js:235: base.keySet = function(map) { Why can't we call map.keys() ...
5 years, 5 months ago (2015-07-20 18:00:51 UTC) #10
John Williams
https://codereview.chromium.org/1217643002/diff/80001/remoting/webapp/base/js/base.js File remoting/webapp/base/js/base.js (right): https://codereview.chromium.org/1217643002/diff/80001/remoting/webapp/base/js/base.js#newcode235 remoting/webapp/base/js/base.js:235: base.keySet = function(map) { On 2015/07/20 18:00:51, kelvinp wrote: ...
5 years, 5 months ago (2015-07-20 21:43:10 UTC) #11
kelvinp
https://codereview.chromium.org/1217643002/diff/100001/remoting/webapp/crd/js/combined_host_list_api.js File remoting/webapp/crd/js/combined_host_list_api.js (right): https://codereview.chromium.org/1217643002/diff/100001/remoting/webapp/crd/js/combined_host_list_api.js#newcode116 remoting/webapp/crd/js/combined_host_list_api.js:116: var gcdHostMap = new Map(); Would the following be ...
5 years, 5 months ago (2015-07-20 22:46:18 UTC) #12
John Williams
https://codereview.chromium.org/1217643002/diff/100001/remoting/webapp/crd/js/combined_host_list_api.js File remoting/webapp/crd/js/combined_host_list_api.js (right): https://codereview.chromium.org/1217643002/diff/100001/remoting/webapp/crd/js/combined_host_list_api.js#newcode116 remoting/webapp/crd/js/combined_host_list_api.js:116: var gcdHostMap = new Map(); On 2015/07/20 22:46:18, kelvinp ...
5 years, 5 months ago (2015-07-21 04:54:55 UTC) #13
kelvinp
Thank you for being flexible. lgtm https://codereview.chromium.org/1217643002/diff/120001/remoting/webapp/crd/js/combined_host_list_api.js File remoting/webapp/crd/js/combined_host_list_api.js (right): https://codereview.chromium.org/1217643002/diff/120001/remoting/webapp/crd/js/combined_host_list_api.js#newcode145 remoting/webapp/crd/js/combined_host_list_api.js:145: // TODO(jrw): Use ...
5 years, 5 months ago (2015-07-21 06:36:36 UTC) #14
John Williams
On 2015/07/21 06:36:36, kelvinp wrote: > Thank you for being flexible. lgtm > > https://codereview.chromium.org/1217643002/diff/120001/remoting/webapp/crd/js/combined_host_list_api.js ...
5 years, 5 months ago (2015-07-21 19:04:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1217643002/120001
5 years, 5 months ago (2015-07-21 19:30:57 UTC) #17
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 5 months ago (2015-07-21 20:28:20 UTC) #18
commit-bot: I haz the power
5 years, 5 months ago (2015-07-21 20:30:15 UTC) #19
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/43c0916a502dc87c79e59754b37e79a4fe00acea
Cr-Commit-Position: refs/heads/master@{#339737}

Powered by Google App Engine
This is Rietveld 408576698