Chromium Code Reviews| Index: chrome/common/extensions/api/mdns.idl |
| diff --git a/chrome/common/extensions/api/mdns.idl b/chrome/common/extensions/api/mdns.idl |
| index 434d4b8187ff8912241fdae3b3d81a152dfbb31a..88d73dd36a37761a75c38cbbba7d65229dea33d5 100644 |
| --- a/chrome/common/extensions/api/mdns.idl |
| +++ b/chrome/common/extensions/api/mdns.idl |
| @@ -23,6 +23,22 @@ namespace mdns { |
| DOMString[] serviceData; |
| }; |
| + callback GetMaxServiceInstancesPerEvent = void (long n); |
| + |
| + /* |
| + enum Constants { |
| + MaxServiceInstancesPerEvent = 64 |
| + //static long getMaxServiceInstancesPerEvent (); |
| + } |
| + */ |
| + interface Functions { |
| + // The maximum number of service instances that will be included in |
|
not at google - send to devlin
2015/04/01 20:25:58
Sorry for the delay with this review, but I'm addi
Red Daly
2015/04/01 22:52:05
That works for me except I'm trying to commit befo
Red Daly
2015/04/02 22:25:21
Thanks for that - updated. Please take another lo
not at google - send to devlin
2015/04/02 22:36:22
AFAIK Caps is the style for web APIs, e.g. see the
Red Daly
2015/04/03 17:58:55
Done.
|
| + // onServiceList events. If more instances are available, they may be |
| + // truncated from the onServiceList event. |
| + static void getMaxServiceInstancesPerEvent ( |
| + GetMaxServiceInstancesPerEvent callback); |
| + }; |
| + |
| interface Events { |
| // Event fired to inform clients of the current complete set of known |
| // available services. Clients should only need to store the list from the |