| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_COMMON_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_IMPL_H_ | 5 #ifndef CHROME_COMMON_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_IMPL_H_ |
| 6 #define CHROME_COMMON_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_IMPL_H_ | 6 #define CHROME_COMMON_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 RequestStatus MDnsStatusToRequestStatus( | 201 RequestStatus MDnsStatusToRequestStatus( |
| 202 net::MDnsTransaction::Result status) const; | 202 net::MDnsTransaction::Result status) const; |
| 203 | 203 |
| 204 bool CreateTxtTransaction(); | 204 bool CreateTxtTransaction(); |
| 205 bool CreateSrvTransaction(); | 205 bool CreateSrvTransaction(); |
| 206 void CreateATransaction(); | 206 void CreateATransaction(); |
| 207 | 207 |
| 208 std::string service_name_; | 208 std::string service_name_; |
| 209 ResolveCompleteCallback callback_; | 209 ResolveCompleteCallback callback_; |
| 210 | 210 |
| 211 bool has_resolved_; | |
| 212 | |
| 213 bool metadata_resolved_; | 211 bool metadata_resolved_; |
| 214 bool address_resolved_; | 212 bool address_resolved_; |
| 215 | 213 |
| 216 scoped_ptr<net::MDnsTransaction> txt_transaction_; | 214 scoped_ptr<net::MDnsTransaction> txt_transaction_; |
| 217 scoped_ptr<net::MDnsTransaction> srv_transaction_; | 215 scoped_ptr<net::MDnsTransaction> srv_transaction_; |
| 218 scoped_ptr<net::MDnsTransaction> a_transaction_; | 216 scoped_ptr<net::MDnsTransaction> a_transaction_; |
| 219 | 217 |
| 220 ServiceDescription service_staging_; | 218 ServiceDescription service_staging_; |
| 221 | 219 |
| 222 net::MDnsClient* mdns_client_; | 220 net::MDnsClient* mdns_client_; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 | 261 |
| 264 base::CancelableCallback<void()> timeout_callback_; | 262 base::CancelableCallback<void()> timeout_callback_; |
| 265 | 263 |
| 266 DISALLOW_COPY_AND_ASSIGN(LocalDomainResolverImpl); | 264 DISALLOW_COPY_AND_ASSIGN(LocalDomainResolverImpl); |
| 267 }; | 265 }; |
| 268 | 266 |
| 269 | 267 |
| 270 } // namespace local_discovery | 268 } // namespace local_discovery |
| 271 | 269 |
| 272 #endif // CHROME_COMMON_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_IMPL_H_ | 270 #endif // CHROME_COMMON_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_IMPL_H_ |
| OLD | NEW |