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

Side by Side Diff: chrome/browser/local_discovery/service_discovery_client_impl.cc

Issue 16835007: Update the include paths of message_loop_proxy.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 #include <utility> 5 #include <utility>
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "base/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "chrome/browser/local_discovery/service_discovery_client_impl.h" 11 #include "chrome/browser/local_discovery/service_discovery_client_impl.h"
12 #include "net/dns/dns_protocol.h" 12 #include "net/dns/dns_protocol.h"
13 #include "net/dns/record_rdata.h" 13 #include "net/dns/record_rdata.h"
14 14
15 namespace local_discovery { 15 namespace local_discovery {
16 16
17 ServiceDiscoveryClientImpl::ServiceDiscoveryClientImpl() { 17 ServiceDiscoveryClientImpl::ServiceDiscoveryClientImpl() {
18 } 18 }
19 19
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 377
378 const net::IPAddressNumber& ServiceResolverImpl::RecordToIPAddress( 378 const net::IPAddressNumber& ServiceResolverImpl::RecordToIPAddress(
379 const net::RecordParsed* record) const { 379 const net::RecordParsed* record) const {
380 DCHECK(record->type() == net::dns_protocol::kTypeA); 380 DCHECK(record->type() == net::dns_protocol::kTypeA);
381 const net::ARecordRdata* a_rdata = record->rdata<net::ARecordRdata>(); 381 const net::ARecordRdata* a_rdata = record->rdata<net::ARecordRdata>();
382 DCHECK(a_rdata); 382 DCHECK(a_rdata);
383 return a_rdata->address(); 383 return a_rdata->address();
384 } 384 }
385 385
386 } // namespace local_discovery 386 } // namespace local_discovery
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698