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

Issue 22870011: chrome.mdns API (Closed)

Created:
7 years, 4 months ago by justinlin
Modified:
7 years, 3 months ago
Reviewers:
mark a. foltz
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

chrome.mdns API BUG=

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 9

Patch Set 3 : Reworked to implement service only. #

Patch Set 4 : Checkpointing #

Patch Set 5 : fix compilation #

Total comments: 6

Patch Set 6 : move to chrome.mdns; just made it compile, needs cleanup #

Patch Set 7 : Some more plumbing #

Patch Set 8 : getting closer.. #

Patch Set 9 : #

Patch Set 10 : turn on for mac, checkpoint for the day #

Patch Set 11 : pre-surgery #

Patch Set 12 : fix idl #

Patch Set 13 : move to manifest key #

Patch Set 14 : can listen #

Total comments: 16

Patch Set 15 : address comments #

Total comments: 20

Patch Set 16 : review comments, strip out service bits #

Patch Set 17 : add tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+535 lines, -0 lines) Patch
A + chrome/browser/extensions/api/mdns/OWNERS View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/browser/extensions/api/mdns/mdns_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +65 lines, -0 lines 1 comment Download
A chrome/browser/extensions/api/mdns/mdns_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +125 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/mdns/mdns_api_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/mdns/mdns_api_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +46 lines, -0 lines 0 comments Download
chrome/browser/extensions/api/mdns/nsd_registry.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/mdns/nsd_registry.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +2 lines, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_manifest_features.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/api/mdns.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/mdns/mdns_manifest_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/mdns/mdns_manifest_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +66 lines, -0 lines 0 comments Download
M chrome/common/extensions/chrome_manifest_handlers.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_manifest_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_manifest_constants.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/api_permission.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/chrome_api_permissions.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/manifest_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/manifest_constants.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
justinlin
7 years, 4 months ago (2013-08-19 17:04:21 UTC) #1
justinlin
On 2013/08/19 17:04:21, justinlin wrote: The mDNS implementation part is pretty much the same as ...
7 years, 4 months ago (2013-08-19 17:06:16 UTC) #2
mark a. foltz
Looks nice. Looks like we ended up in a similar place with the implementation. Most ...
7 years, 4 months ago (2013-08-19 18:25:25 UTC) #3
scheib
https://codereview.chromium.org/22870011/diff/17001/chrome/common/extensions/api/dial.idl File chrome/common/extensions/api/dial.idl (right): https://codereview.chromium.org/22870011/diff/17001/chrome/common/extensions/api/dial.idl#newcode28 chrome/common/extensions/api/dial.idl:28: // Set when discoveryType is mdns, unset otherwise. discoveryType ...
7 years, 4 months ago (2013-08-20 23:33:50 UTC) #4
mark a. foltz
Looks good so far. Fleshing out the api -> NsdRegistry -> MDnsService flow is the ...
7 years, 4 months ago (2013-08-23 23:27:22 UTC) #5
justinlin
Addressed most comments. Splitting files out now.. https://codereview.chromium.org/22870011/diff/42001/chrome/browser/extensions/api/dial/dial_api.cc File chrome/browser/extensions/api/dial/dial_api.cc (right): https://codereview.chromium.org/22870011/diff/42001/chrome/browser/extensions/api/dial/dial_api.cc#newcode157 chrome/browser/extensions/api/dial/dial_api.cc:157: dial_ = ...
7 years, 3 months ago (2013-08-27 00:09:24 UTC) #6
mark a. foltz
Thanks, will do a round on the doc tonight. https://codereview.chromium.org/22870011/diff/50001/chrome/browser/extensions/api/mdns/mdns_api.cc File chrome/browser/extensions/api/mdns/mdns_api.cc (right): https://codereview.chromium.org/22870011/diff/50001/chrome/browser/extensions/api/mdns/mdns_api.cc#newcode46 chrome/browser/extensions/api/mdns/mdns_api.cc:46: ...
7 years, 3 months ago (2013-08-27 00:35:42 UTC) #7
justinlin
thanks for the review! addressed comments and removed all the service classes. needs more comments ...
7 years, 3 months ago (2013-08-27 01:50:20 UTC) #8
justinlin
https://codereview.chromium.org/22870011/diff/17001/chrome/common/extensions/api/dial.idl File chrome/common/extensions/api/dial.idl (right): https://codereview.chromium.org/22870011/diff/17001/chrome/common/extensions/api/dial.idl#newcode28 chrome/common/extensions/api/dial.idl:28: // Set when discoveryType is mdns, unset otherwise. On ...
7 years, 3 months ago (2013-08-28 16:53:10 UTC) #9
mark a. foltz
7 years, 3 months ago (2013-09-05 23:08:14 UTC) #10
One minor comment, LGTM

https://codereview.chromium.org/22870011/diff/62001/chrome/browser/extensions...
File chrome/browser/extensions/api/mdns/mdns_api.h (right):

https://codereview.chromium.org/22870011/diff/62001/chrome/browser/extensions...
chrome/browser/extensions/api/mdns/mdns_api.h:41: // Mapping from MDNS service
types to currently listening extensions.
"to the set of currently listening extensions (by extension id)"

Powered by Google App Engine
This is Rietveld 408576698