| 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/media/rtc_peer_connection_handler.h" | 5 #include "content/renderer/media/rtc_peer_connection_handler.h" |
| 6 | 6 |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
| 14 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
| 15 #include "base/location.h" | 15 #include "base/location.h" |
| 16 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/metrics/histogram.h" | 17 #include "base/metrics/histogram_macros.h" |
| 18 #include "base/metrics/sparse_histogram.h" | 18 #include "base/metrics/sparse_histogram.h" |
| 19 #include "base/stl_util.h" | 19 #include "base/stl_util.h" |
| 20 #include "base/strings/utf_string_conversions.h" | 20 #include "base/strings/utf_string_conversions.h" |
| 21 #include "base/threading/thread_task_runner_handle.h" | 21 #include "base/threading/thread_task_runner_handle.h" |
| 22 #include "base/trace_event/trace_event.h" | 22 #include "base/trace_event/trace_event.h" |
| 23 #include "content/public/common/content_features.h" | 23 #include "content/public/common/content_features.h" |
| 24 #include "content/public/common/content_switches.h" | 24 #include "content/public/common/content_switches.h" |
| 25 #include "content/renderer/media/media_stream_constraints_util.h" | 25 #include "content/renderer/media/media_stream_constraints_util.h" |
| 26 #include "content/renderer/media/media_stream_track.h" | 26 #include "content/renderer/media/media_stream_track.h" |
| 27 #include "content/renderer/media/peer_connection_tracker.h" | 27 #include "content/renderer/media/peer_connection_tracker.h" |
| (...skipping 1878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1906 } | 1906 } |
| 1907 | 1907 |
| 1908 void RTCPeerConnectionHandler::ResetUMAStats() { | 1908 void RTCPeerConnectionHandler::ResetUMAStats() { |
| 1909 DCHECK(thread_checker_.CalledOnValidThread()); | 1909 DCHECK(thread_checker_.CalledOnValidThread()); |
| 1910 num_local_candidates_ipv6_ = 0; | 1910 num_local_candidates_ipv6_ = 0; |
| 1911 num_local_candidates_ipv4_ = 0; | 1911 num_local_candidates_ipv4_ = 0; |
| 1912 ice_connection_checking_start_ = base::TimeTicks(); | 1912 ice_connection_checking_start_ = base::TimeTicks(); |
| 1913 memset(ice_state_seen_, 0, sizeof(ice_state_seen_)); | 1913 memset(ice_state_seen_, 0, sizeof(ice_state_seen_)); |
| 1914 } | 1914 } |
| 1915 } // namespace content | 1915 } // namespace content |
| OLD | NEW |