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

Issue 15709005: Linux pairing registry delegate implementation (Closed)

Created:
7 years, 6 months ago by Jamie
Modified:
7 years, 6 months ago
Reviewers:
Sergey Ulanov, Lambros
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, weitaosu+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Linux pairing registry delegate implementation BUG=156182 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208123

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added Mac and Windows (non-)implementations. #

Total comments: 41

Patch Set 3 : . #

Patch Set 4 : Reviewer feedback. #

Total comments: 10

Patch Set 5 : Reviewer feedback. #

Total comments: 2

Patch Set 6 : Move JSON parsing into PairingRegistry. #

Patch Set 7 : Fixed #include #

Patch Set 8 : Use JS time for serialization. #

Total comments: 4

Patch Set 9 : Reviewer feedback. #

Patch Set 10 : Rebase. #

Patch Set 11 : Rebase #

Patch Set 12 : Fixed Windows and Mac compilation errors. #

Patch Set 13 : Fixed Windows and Mac compile errors. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+520 lines, -115 lines) Patch
A remoting/host/pairing_registry_delegate.h View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
A remoting/host/pairing_registry_delegate_linux.h View 1 2 3 4 5 1 chunk +73 lines, -0 lines 0 comments Download
A remoting/host/pairing_registry_delegate_linux.cc View 1 2 3 4 5 6 7 8 1 chunk +132 lines, -0 lines 0 comments Download
A remoting/host/pairing_registry_delegate_linux_unittest.cc View 1 2 3 4 5 1 chunk +76 lines, -0 lines 0 comments Download
A remoting/host/pairing_registry_delegate_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +18 lines, -0 lines 0 comments Download
A remoting/host/pairing_registry_delegate_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +18 lines, -0 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -6 lines 0 comments Download
M remoting/protocol/negotiating_authenticator_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M remoting/protocol/pairing_registry.h View 1 2 3 4 5 2 chunks +32 lines, -34 lines 0 comments Download
M remoting/protocol/pairing_registry.cc View 1 2 3 4 5 6 7 8 2 chunks +94 lines, -13 lines 0 comments Download
M remoting/protocol/pairing_registry_unittest.cc View 1 2 3 4 5 1 chunk +21 lines, -31 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 1 2 3 4 5 1 chunk +9 lines, -10 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.cc View 1 2 3 4 5 1 chunk +10 lines, -17 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
Jamie
ptal https://codereview.chromium.org/15709005/diff/1/remoting/protocol/pairing_registry.h File remoting/protocol/pairing_registry.h (right): https://codereview.chromium.org/15709005/diff/1/remoting/protocol/pairing_registry.h#newcode39 remoting/protocol/pairing_registry.h:39: base::Time created_time; Not strictly related to this CL, ...
7 years, 6 months ago (2013-05-31 01:14:22 UTC) #1
Sergey Ulanov
https://codereview.chromium.org/15709005/diff/2001/remoting/host/pairing_registry_delegate_linux.cc File remoting/host/pairing_registry_delegate_linux.cc (right): https://codereview.chromium.org/15709005/diff/2001/remoting/host/pairing_registry_delegate_linux.cc#newcode16 remoting/host/pairing_registry_delegate_linux.cc:16: const char kConfigDir[] = ".config/chrome-remote-desktop"; There is remoting::GetConfigDir() that ...
7 years, 6 months ago (2013-05-31 18:45:46 UTC) #2
Lambros
https://codereview.chromium.org/15709005/diff/2001/remoting/host/pairing_registry_delegate_linux.cc File remoting/host/pairing_registry_delegate_linux.cc (right): https://codereview.chromium.org/15709005/diff/2001/remoting/host/pairing_registry_delegate_linux.cc#newcode51 remoting/host/pairing_registry_delegate_linux.cc:51: for (PairingRegistry::PairedClients::const_iterator i = This serialization code looks like ...
7 years, 6 months ago (2013-05-31 18:51:59 UTC) #3
Lambros
https://codereview.chromium.org/15709005/diff/2001/remoting/host/pairing_registry_delegate_linux.cc File remoting/host/pairing_registry_delegate_linux.cc (right): https://codereview.chromium.org/15709005/diff/2001/remoting/host/pairing_registry_delegate_linux.cc#newcode104 remoting/host/pairing_registry_delegate_linux.cc:104: (static_cast<int64>(created_time_high) << 32) + created_time_low); On 2013/05/31 18:45:46, Sergey ...
7 years, 6 months ago (2013-05-31 19:55:26 UTC) #4
Wez
Drive-by... https://codereview.chromium.org/15709005/diff/2001/remoting/host/pairing_registry_delegate_linux.h File remoting/host/pairing_registry_delegate_linux.h (right): https://codereview.chromium.org/15709005/diff/2001/remoting/host/pairing_registry_delegate_linux.h#newcode32 remoting/host/pairing_registry_delegate_linux.h:32: void SetFilenameForTesting(const base::FilePath &filename); nit: Add comments to ...
7 years, 6 months ago (2013-06-01 01:34:41 UTC) #5
Jamie
PTAL. I think I've addressed all the comments, but this version implements a different Delegate ...
7 years, 6 months ago (2013-06-19 17:56:44 UTC) #6
Sergey Ulanov
https://codereview.chromium.org/15709005/diff/2001/remoting/host/pairing_registry_delegate_linux.cc File remoting/host/pairing_registry_delegate_linux.cc (right): https://codereview.chromium.org/15709005/diff/2001/remoting/host/pairing_registry_delegate_linux.cc#newcode51 remoting/host/pairing_registry_delegate_linux.cc:51: for (PairingRegistry::PairedClients::const_iterator i = On 2013/06/19 17:56:44, Jamie wrote: ...
7 years, 6 months ago (2013-06-19 18:23:49 UTC) #7
Jamie
On 2013/06/19 18:23:49, Sergey Ulanov wrote: > https://codereview.chromium.org/15709005/diff/2001/remoting/host/pairing_registry_delegate_linux.cc > File remoting/host/pairing_registry_delegate_linux.cc (right): > > https://codereview.chromium.org/15709005/diff/2001/remoting/host/pairing_registry_delegate_linux.cc#newcode51 ...
7 years, 6 months ago (2013-06-19 18:39:02 UTC) #8
Lambros
https://codereview.chromium.org/15709005/diff/2001/remoting/protocol/pairing_registry.h File remoting/protocol/pairing_registry.h (right): https://codereview.chromium.org/15709005/diff/2001/remoting/protocol/pairing_registry.h#newcode75 remoting/protocol/pairing_registry.h:75: // Return a platform-specific Delegate that will save to ...
7 years, 6 months ago (2013-06-20 17:59:20 UTC) #9
Jamie
ptal https://codereview.chromium.org/15709005/diff/2001/remoting/protocol/pairing_registry.h File remoting/protocol/pairing_registry.h (right): https://codereview.chromium.org/15709005/diff/2001/remoting/protocol/pairing_registry.h#newcode75 remoting/protocol/pairing_registry.h:75: // Return a platform-specific Delegate that will save ...
7 years, 6 months ago (2013-06-20 20:17:09 UTC) #10
Lambros
LGTM with comment. I still think some common code can be pulled out of the ...
7 years, 6 months ago (2013-06-20 21:40:51 UTC) #11
Sergey Ulanov
On 2013/06/19 18:39:02, Jamie wrote: > On 2013/06/19 18:23:49, Sergey Ulanov wrote: > > > ...
7 years, 6 months ago (2013-06-20 22:26:52 UTC) #12
Jamie
On 2013/06/20 22:26:52, Sergey Ulanov wrote: > On 2013/06/19 18:39:02, Jamie wrote: > > On ...
7 years, 6 months ago (2013-06-21 02:33:04 UTC) #13
Jamie
fyi https://codereview.chromium.org/15709005/diff/33001/remoting/remoting.gyp File remoting/remoting.gyp (right): https://codereview.chromium.org/15709005/diff/33001/remoting/remoting.gyp#newcode420 remoting/remoting.gyp:420: 'host/pairing_registry_delegate_linux.cc', On 2013/06/20 21:40:52, Lambros wrote: > Add ...
7 years, 6 months ago (2013-06-21 02:33:21 UTC) #14
Sergey Ulanov
LGTM. https://codereview.chromium.org/15709005/diff/54001/remoting/host/pairing_registry_delegate_linux.cc File remoting/host/pairing_registry_delegate_linux.cc (right): https://codereview.chromium.org/15709005/diff/54001/remoting/host/pairing_registry_delegate_linux.cc#newcode103 remoting/host/pairing_registry_delegate_linux.cc:103: nit: don't need this empty line. https://codereview.chromium.org/15709005/diff/54001/remoting/protocol/pairing_registry.cc File ...
7 years, 6 months ago (2013-06-21 23:27:54 UTC) #15
Jamie
fyi https://codereview.chromium.org/15709005/diff/54001/remoting/host/pairing_registry_delegate_linux.cc File remoting/host/pairing_registry_delegate_linux.cc (right): https://codereview.chromium.org/15709005/diff/54001/remoting/host/pairing_registry_delegate_linux.cc#newcode103 remoting/host/pairing_registry_delegate_linux.cc:103: On 2013/06/21 23:27:55, Sergey Ulanov wrote: > nit: ...
7 years, 6 months ago (2013-06-21 23:33:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/15709005/66001
7 years, 6 months ago (2013-06-21 23:33:39 UTC) #17
commit-bot: I haz the power
Failed to apply patch for remoting/host/remoting_me2me_host.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 6 months ago (2013-06-21 23:33:42 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/15709005/63002
7 years, 6 months ago (2013-06-22 00:03:54 UTC) #19
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-22 00:47:50 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/15709005/58003
7 years, 6 months ago (2013-06-22 00:58:03 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/15709005/58003
7 years, 6 months ago (2013-06-22 02:29:15 UTC) #22
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, cacheinvalidation_unittests, cc_unittests, check_deps, chromedriver2_unittests, ...
7 years, 6 months ago (2013-06-22 03:25:20 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/15709005/58003
7 years, 6 months ago (2013-06-22 17:48:03 UTC) #24
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-22 18:19:52 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/15709005/90001
7 years, 6 months ago (2013-06-23 05:47:59 UTC) #26
commit-bot: I haz the power
7 years, 6 months ago (2013-06-23 14:10:31 UTC) #27
Message was sent while issue was closed.
Change committed as 208123

Powered by Google App Engine
This is Rietveld 408576698