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

Side by Side Diff: chrome/browser/local_discovery/service_discovery_client.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
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 CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_H_ 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_H_ 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "net/base/address_family.h" 14 #include "net/base/address_family.h"
15 #include "net/base/host_port_pair.h" 15 #include "net/base/host_port_pair.h"
16 #include "net/base/ip_address.h" 16 #include "net/base/ip_address.h"
17 17
18 namespace net {
19 class MDnsClient;
20 }
21
22 namespace local_discovery { 18 namespace local_discovery {
23 19
24 struct ServiceDescription { 20 struct ServiceDescription {
25 public: 21 public:
26 ServiceDescription(); 22 ServiceDescription();
27 ServiceDescription(const ServiceDescription& other); 23 ServiceDescription(const ServiceDescription& other);
28 ~ServiceDescription(); 24 ~ServiceDescription();
29 25
30 // Convenience function to get useful parts of the service name. A service 26 // Convenience function to get useful parts of the service name. A service
31 // name follows the format <instance_name>.<service_type>. 27 // name follows the format <instance_name>.<service_type>.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // Create a resolver for local domain, both ipv4 or ipv6. 125 // Create a resolver for local domain, both ipv4 or ipv6.
130 virtual std::unique_ptr<LocalDomainResolver> CreateLocalDomainResolver( 126 virtual std::unique_ptr<LocalDomainResolver> CreateLocalDomainResolver(
131 const std::string& domain, 127 const std::string& domain,
132 net::AddressFamily address_family, 128 net::AddressFamily address_family,
133 const LocalDomainResolver::IPAddressCallback& callback) = 0; 129 const LocalDomainResolver::IPAddressCallback& callback) = 0;
134 }; 130 };
135 131
136 } // namespace local_discovery 132 } // namespace local_discovery
137 133
138 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_H_ 134 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/loader/safe_browsing_resource_throttle.h ('k') | chrome/browser/manifest/manifest_icon_selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698