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

Issue 16389002: GCP2.0 Device: mDNS basics (Closed)

Created:
7 years, 6 months ago by maksymb
Modified:
7 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

GCP2.0 Device: mDNS basics Socket binding and sending empty announcements BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204754

Patch Set 1 #

Total comments: 18

Patch Set 2 : Replaced dns_io_routines with BigEndianWriter. Corrected TTL variables type. #

Patch Set 3 : Added a lot of comments. #

Patch Set 4 : #

Total comments: 12

Patch Set 5 : #

Patch Set 6 : Checked Lint errors. #

Patch Set 7 : Added trailing newlines. #

Total comments: 8

Patch Set 8 : Corrected "Binds". #

Total comments: 14

Patch Set 9 : Renamed DnsSd to DnsSdServer and cleared response-making functionality (will be added later) #

Patch Set 10 : Corrected file rename issues #

Total comments: 2

Patch Set 11 : Deleted AppendXXX() and UpdateHeader(). #

Total comments: 2

Patch Set 12 : Checked nits. #

Total comments: 4

Patch Set 13 : Removed defines and unnecessary dependencies from hyp file. #

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -0 lines) Patch
M cloud_print/cloud_print.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A cloud_print/gcp20/prototype/dns_sd_server.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +62 lines, -0 lines 0 comments Download
A cloud_print/gcp20/prototype/dns_sd_server.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +137 lines, -0 lines 0 comments Download
A cloud_print/gcp20/prototype/gcp20_device.cc View 1 2 3 4 5 6 7 8 9 1 chunk +28 lines, -0 lines 0 comments Download
A cloud_print/gcp20/prototype/gcp20_device.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
maksymb
Please take a look on my CL
7 years, 6 months ago (2013-06-04 23:16:20 UTC) #1
Vitaly Buka corp
https://codereview.chromium.org/16389002/diff/1/cloud_print/gcp20/prototype/dns_io_routines.cc File cloud_print/gcp20/prototype/dns_io_routines.cc (right): https://codereview.chromium.org/16389002/diff/1/cloud_print/gcp20/prototype/dns_io_routines.cc#newcode15 cloud_print/gcp20/prototype/dns_io_routines.cc:15: PutUint8(buf, (val >> 8) & 0xFF); Please use BigEndianWriter ...
7 years, 6 months ago (2013-06-05 20:55:16 UTC) #2
Vitaly Buka corp
https://codereview.chromium.org/16389002/diff/1/cloud_print/gcp20/prototype/dns_sd.cc File cloud_print/gcp20/prototype/dns_sd.cc (right): https://codereview.chromium.org/16389002/diff/1/cloud_print/gcp20/prototype/dns_sd.cc#newcode14 cloud_print/gcp20/prototype/dns_sd.cc:14: put all consts in anonymous namespace { ... } ...
7 years, 6 months ago (2013-06-05 21:01:39 UTC) #3
maksymb
Done all comments. https://codereview.chromium.org/16389002/diff/1/cloud_print/gcp20/prototype/dns_io_routines.cc File cloud_print/gcp20/prototype/dns_io_routines.cc (right): https://codereview.chromium.org/16389002/diff/1/cloud_print/gcp20/prototype/dns_io_routines.cc#newcode15 cloud_print/gcp20/prototype/dns_io_routines.cc:15: PutUint8(buf, (val >> 8) & 0xFF); ...
7 years, 6 months ago (2013-06-05 22:36:32 UTC) #4
Vitaly Buka corp
Please also fix all Lint error. https://codereview.chromium.org/16389002/diff/13001/cloud_print/gcp20/prototype/dns_sd.cc File cloud_print/gcp20/prototype/dns_sd.cc (right): https://codereview.chromium.org/16389002/diff/13001/cloud_print/gcp20/prototype/dns_sd.cc#newcode158 cloud_print/gcp20/prototype/dns_sd.cc:158: bool success = ...
7 years, 6 months ago (2013-06-05 23:08:10 UTC) #5
maksymb
Checked Lint errors and done all comments. https://codereview.chromium.org/16389002/diff/13001/cloud_print/gcp20/prototype/dns_sd.cc File cloud_print/gcp20/prototype/dns_sd.cc (right): https://codereview.chromium.org/16389002/diff/13001/cloud_print/gcp20/prototype/dns_sd.cc#newcode158 cloud_print/gcp20/prototype/dns_sd.cc:158: bool success ...
7 years, 6 months ago (2013-06-05 23:36:38 UTC) #6
Vitaly Buka corp
lgtm gene? https://codereview.chromium.org/16389002/diff/25001/cloud_print/gcp20/prototype/dns_sd.h File cloud_print/gcp20/prototype/dns_sd.h (right): https://codereview.chromium.org/16389002/diff/25001/cloud_print/gcp20/prototype/dns_sd.h#newcode36 cloud_print/gcp20/prototype/dns_sd.h:36: // Bind a socket to multicast address. ...
7 years, 6 months ago (2013-06-05 23:52:11 UTC) #7
gene1
give me a few minutes, I'll take a look On Wed, Jun 5, 2013 at ...
7 years, 6 months ago (2013-06-05 23:54:00 UTC) #8
maksymb
Correct "Binds": Done. https://codereview.chromium.org/16389002/diff/25001/cloud_print/gcp20/prototype/dns_sd.h File cloud_print/gcp20/prototype/dns_sd.h (right): https://codereview.chromium.org/16389002/diff/25001/cloud_print/gcp20/prototype/dns_sd.h#newcode36 cloud_print/gcp20/prototype/dns_sd.h:36: // Bind a socket to multicast ...
7 years, 6 months ago (2013-06-06 00:02:50 UTC) #9
gene
nothing serious, just a few nits below: https://codereview.chromium.org/16389002/diff/25001/cloud_print/gcp20/prototype/dns_sd.h File cloud_print/gcp20/prototype/dns_sd.h (right): https://codereview.chromium.org/16389002/diff/25001/cloud_print/gcp20/prototype/dns_sd.h#newcode14 cloud_print/gcp20/prototype/dns_sd.h:14: class DnsSd ...
7 years, 6 months ago (2013-06-06 00:13:51 UTC) #10
maksymb
Renamed and checked mistakes. Created dump for DNS header. https://codereview.chromium.org/16389002/diff/25001/cloud_print/gcp20/prototype/dns_sd.h File cloud_print/gcp20/prototype/dns_sd.h (right): https://codereview.chromium.org/16389002/diff/25001/cloud_print/gcp20/prototype/dns_sd.h#newcode14 cloud_print/gcp20/prototype/dns_sd.h:14: ...
7 years, 6 months ago (2013-06-06 01:52:45 UTC) #11
gene
lgtm a couple of nits below https://codereview.chromium.org/16389002/diff/39001/cloud_print/gcp20/prototype/dns_sd_server.cc File cloud_print/gcp20/prototype/dns_sd_server.cc (right): https://codereview.chromium.org/16389002/diff/39001/cloud_print/gcp20/prototype/dns_sd_server.cc#newcode24 cloud_print/gcp20/prototype/dns_sd_server.cc:24: DnsSdServer::DnsSdServer(): is_online_(false) { ...
7 years, 6 months ago (2013-06-06 02:41:19 UTC) #12
maksymb
All is done. https://codereview.chromium.org/16389002/diff/39001/cloud_print/gcp20/prototype/dns_sd_server.cc File cloud_print/gcp20/prototype/dns_sd_server.cc (right): https://codereview.chromium.org/16389002/diff/39001/cloud_print/gcp20/prototype/dns_sd_server.cc#newcode24 cloud_print/gcp20/prototype/dns_sd_server.cc:24: DnsSdServer::DnsSdServer(): is_online_(false) { On 2013/06/06 02:41:20, ...
7 years, 6 months ago (2013-06-06 16:43:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maksymb@chromium.org/16389002/50001
7 years, 6 months ago (2013-06-06 16:51:25 UTC) #14
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-06 17:19:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maksymb@chromium.org/16389002/50001
7 years, 6 months ago (2013-06-06 18:36:18 UTC) #16
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-06 18:55:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maksymb@chromium.org/16389002/50001
7 years, 6 months ago (2013-06-06 19:02:49 UTC) #18
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-06 19:54:58 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maksymb@chromium.org/16389002/50001
7 years, 6 months ago (2013-06-06 20:47:16 UTC) #20
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-06 21:18:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maksymb@chromium.org/16389002/50001
7 years, 6 months ago (2013-06-06 21:32:42 UTC) #22
Vitaly Buka corp
https://chromiumcodereview.appspot.com/16389002/diff/50001/cloud_print/gcp20/prototype/gcp20_device.gyp File cloud_print/gcp20/prototype/gcp20_device.gyp (right): https://chromiumcodereview.appspot.com/16389002/diff/50001/cloud_print/gcp20/prototype/gcp20_device.gyp#newcode20 cloud_print/gcp20/prototype/gcp20_device.gyp:20: '_ATL_APARTMENT_THREADED', try to remove all defines https://chromiumcodereview.appspot.com/16389002/diff/50001/cloud_print/gcp20/prototype/gcp20_device.gyp#newcode47 cloud_print/gcp20/prototype/gcp20_device.gyp:47: 'UACExecutionLevel': ...
7 years, 6 months ago (2013-06-06 21:40:40 UTC) #23
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-06 21:48:25 UTC) #24
maksymb
Checked. https://chromiumcodereview.appspot.com/16389002/diff/50001/cloud_print/gcp20/prototype/gcp20_device.gyp File cloud_print/gcp20/prototype/gcp20_device.gyp (right): https://chromiumcodereview.appspot.com/16389002/diff/50001/cloud_print/gcp20/prototype/gcp20_device.gyp#newcode20 cloud_print/gcp20/prototype/gcp20_device.gyp:20: '_ATL_APARTMENT_THREADED', On 2013/06/06 21:40:40, Vitaly Buka corp wrote: ...
7 years, 6 months ago (2013-06-06 21:52:41 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maksymb@chromium.org/16389002/76002
7 years, 6 months ago (2013-06-06 21:54:11 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maksymb@chromium.org/16389002/101001
7 years, 6 months ago (2013-06-06 22:50:52 UTC) #27
commit-bot: I haz the power
7 years, 6 months ago (2013-06-07 08:23:22 UTC) #28
Message was sent while issue was closed.
Change committed as 204754

Powered by Google App Engine
This is Rietveld 408576698