| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/renderer/p2p/ipc_socket_factory.h" | 5 #include "content/renderer/p2p/ipc_socket_factory.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <list> | 10 #include <list> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/metrics/field_trial.h" | 15 #include "base/metrics/field_trial.h" |
| 16 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram_macros.h" |
| 17 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
| 18 #include "base/strings/stringprintf.h" | 18 #include "base/strings/stringprintf.h" |
| 19 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
| 20 #include "base/threading/thread_checker.h" | 20 #include "base/threading/thread_checker.h" |
| 21 #include "base/trace_event/trace_event.h" | 21 #include "base/trace_event/trace_event.h" |
| 22 #include "content/renderer/media/webrtc_logging.h" | 22 #include "content/renderer/media/webrtc_logging.h" |
| 23 #include "content/renderer/p2p/host_address_request.h" | 23 #include "content/renderer/p2p/host_address_request.h" |
| 24 #include "content/renderer/p2p/socket_client_delegate.h" | 24 #include "content/renderer/p2p/socket_client_delegate.h" |
| 25 #include "content/renderer/p2p/socket_client_impl.h" | 25 #include "content/renderer/p2p/socket_client_impl.h" |
| 26 #include "content/renderer/p2p/socket_dispatcher.h" | 26 #include "content/renderer/p2p/socket_dispatcher.h" |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 } | 804 } |
| 805 | 805 |
| 806 rtc::AsyncResolverInterface* | 806 rtc::AsyncResolverInterface* |
| 807 IpcPacketSocketFactory::CreateAsyncResolver() { | 807 IpcPacketSocketFactory::CreateAsyncResolver() { |
| 808 std::unique_ptr<AsyncAddressResolverImpl> resolver( | 808 std::unique_ptr<AsyncAddressResolverImpl> resolver( |
| 809 new AsyncAddressResolverImpl(socket_dispatcher_)); | 809 new AsyncAddressResolverImpl(socket_dispatcher_)); |
| 810 return resolver.release(); | 810 return resolver.release(); |
| 811 } | 811 } |
| 812 | 812 |
| 813 } // namespace content | 813 } // namespace content |
| OLD | NEW |