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> |
| 8 |
7 #include <string> | 9 #include <string> |
8 #include <utility> | 10 #include <utility> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/command_line.h" | 13 #include "base/command_line.h" |
12 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
13 #include "base/location.h" | 15 #include "base/location.h" |
14 #include "base/logging.h" | 16 #include "base/logging.h" |
15 #include "base/metrics/histogram.h" | 17 #include "base/metrics/histogram.h" |
16 #include "base/metrics/sparse_histogram.h" | 18 #include "base/metrics/sparse_histogram.h" |
(...skipping 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1669 } | 1671 } |
1670 | 1672 |
1671 void RTCPeerConnectionHandler::ResetUMAStats() { | 1673 void RTCPeerConnectionHandler::ResetUMAStats() { |
1672 DCHECK(thread_checker_.CalledOnValidThread()); | 1674 DCHECK(thread_checker_.CalledOnValidThread()); |
1673 num_local_candidates_ipv6_ = 0; | 1675 num_local_candidates_ipv6_ = 0; |
1674 num_local_candidates_ipv4_ = 0; | 1676 num_local_candidates_ipv4_ = 0; |
1675 ice_connection_checking_start_ = base::TimeTicks(); | 1677 ice_connection_checking_start_ = base::TimeTicks(); |
1676 memset(ice_state_seen_, 0, sizeof(ice_state_seen_)); | 1678 memset(ice_state_seen_, 0, sizeof(ice_state_seen_)); |
1677 } | 1679 } |
1678 } // namespace content | 1680 } // namespace content |
OLD | NEW |