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

Side by Side Diff: net/dns/mock_mdns_socket_factory.cc

Issue 1969043002: Fix include path for moved thread_task_runner_handle.h header in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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/dns/mock_host_resolver.cc ('k') | net/dns/serial_worker.cc » ('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 #include "net/dns/mock_mdns_socket_factory.h" 5 #include "net/dns/mock_mdns_socket_factory.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 14
15 using testing::_; 15 using testing::_;
16 using testing::Invoke; 16 using testing::Invoke;
17 17
18 namespace net { 18 namespace net {
19 19
20 MockMDnsDatagramServerSocket::MockMDnsDatagramServerSocket( 20 MockMDnsDatagramServerSocket::MockMDnsDatagramServerSocket(
21 AddressFamily address_family) { 21 AddressFamily address_family) {
22 local_address_ = GetMDnsIPEndPoint(address_family); 22 local_address_ = GetMDnsIPEndPoint(address_family);
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 113 }
114 114
115 int MockMDnsSocketFactory::SendToInternal( 115 int MockMDnsSocketFactory::SendToInternal(
116 const std::string& packet, const std::string& address, 116 const std::string& packet, const std::string& address,
117 const CompletionCallback& callback) { 117 const CompletionCallback& callback) {
118 OnSendTo(packet); 118 OnSendTo(packet);
119 return packet.size(); 119 return packet.size();
120 } 120 }
121 121
122 } // namespace net 122 } // namespace net
OLDNEW
« no previous file with comments | « net/dns/mock_host_resolver.cc ('k') | net/dns/serial_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698