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

Side by Side Diff: remoting/test/fake_socket_factory.cc

Issue 1969053002: Fix include path for moved thread_task_runner_handle.h header in remoting/ (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
OLDNEW
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 // MSVC++ requires this to be set before any other includes to get M_PI. 5 // MSVC++ requires this to be set before any other includes to get M_PI.
6 #define _USE_MATH_DEFINES 6 #define _USE_MATH_DEFINES
7 7
8 #include "remoting/test/fake_socket_factory.h" 8 #include "remoting/test/fake_socket_factory.h"
9 9
10 #include <math.h> 10 #include <math.h>
11 #include <stddef.h> 11 #include <stddef.h>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/rand_util.h" 17 #include "base/rand_util.h"
18 #include "base/single_thread_task_runner.h" 18 #include "base/single_thread_task_runner.h"
19 #include "base/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
20 #include "base/time/time.h" 20 #include "base/time/time.h"
21 #include "net/base/io_buffer.h" 21 #include "net/base/io_buffer.h"
22 #include "remoting/test/leaky_bucket.h" 22 #include "remoting/test/leaky_bucket.h"
23 #include "third_party/webrtc/base/asyncpacketsocket.h" 23 #include "third_party/webrtc/base/asyncpacketsocket.h"
24 #include "third_party/webrtc/media/base/rtputils.h" 24 #include "third_party/webrtc/media/base/rtputils.h"
25 25
26 namespace remoting { 26 namespace remoting {
27 27
28 namespace { 28 namespace {
29 29
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 UdpSocketsMap::iterator iter = udp_sockets_.find(packet.to.port()); 334 UdpSocketsMap::iterator iter = udp_sockets_.find(packet.to.port());
335 if (iter == udp_sockets_.end()) { 335 if (iter == udp_sockets_.end()) {
336 // Invalid port number. 336 // Invalid port number.
337 return; 337 return;
338 } 338 }
339 339
340 iter->second.Run(packet.from, packet.to, packet.data, packet.data_size); 340 iter->second.Run(packet.from, packet.to, packet.data, packet.data_size);
341 } 341 }
342 342
343 } // namespace remoting 343 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/test/fake_app_remoting_report_issue_request.cc ('k') | remoting/test/host_list_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698