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

Side by Side Diff: net/dns/mdns_client.h

Issue 2396503002: Fix net_export.h includes. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/disk_cache/simple/simple_backend_impl.h ('k') | net/dns/mdns_client_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_DNS_MDNS_CLIENT_H_ 5 #ifndef NET_DNS_MDNS_CLIENT_H_
6 #define NET_DNS_MDNS_CLIENT_H_ 6 #define NET_DNS_MDNS_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "net/base/ip_endpoint.h" 15 #include "net/base/ip_endpoint.h"
16 #include "net/base/net_export.h"
16 #include "net/dns/dns_query.h" 17 #include "net/dns/dns_query.h"
17 #include "net/dns/dns_response.h" 18 #include "net/dns/dns_response.h"
18 #include "net/dns/record_parsed.h" 19 #include "net/dns/record_parsed.h"
19 20
20 namespace net { 21 namespace net {
21 22
22 class DatagramServerSocket; 23 class DatagramServerSocket;
23 class RecordParsed; 24 class RecordParsed;
24 25
25 // Represents a one-time record lookup. A transaction takes one 26 // Represents a one-time record lookup. A transaction takes one
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // Create sockets, binds socket to MDns endpoint, and sets multicast interface 184 // Create sockets, binds socket to MDns endpoint, and sets multicast interface
184 // and joins multicast group on for |interface_index|. 185 // and joins multicast group on for |interface_index|.
185 // Returns NULL if failed. 186 // Returns NULL if failed.
186 NET_EXPORT std::unique_ptr<DatagramServerSocket> CreateAndBindMDnsSocket( 187 NET_EXPORT std::unique_ptr<DatagramServerSocket> CreateAndBindMDnsSocket(
187 AddressFamily address_family, 188 AddressFamily address_family,
188 uint32_t interface_index); 189 uint32_t interface_index);
189 190
190 } // namespace net 191 } // namespace net
191 192
192 #endif // NET_DNS_MDNS_CLIENT_H_ 193 #endif // NET_DNS_MDNS_CLIENT_H_
OLDNEW
« no previous file with comments | « net/disk_cache/simple/simple_backend_impl.h ('k') | net/dns/mdns_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698