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 #ifndef CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
6 #define CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 6 #define CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 | 12 |
11 #include "base/basictypes.h" | |
12 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
15 #include "base/single_thread_task_runner.h" | 17 #include "base/single_thread_task_runner.h" |
16 #include "base/threading/thread.h" | 18 #include "base/threading/thread.h" |
17 #include "base/threading/thread_checker.h" | 19 #include "base/threading/thread_checker.h" |
18 #include "content/common/content_export.h" | 20 #include "content/common/content_export.h" |
19 #include "content/renderer/media/webrtc/media_stream_track_metrics.h" | 21 #include "content/renderer/media/webrtc/media_stream_track_metrics.h" |
20 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | 22 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
21 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h" | 23 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h" |
22 #include "third_party/WebKit/public/platform/WebRTCStatsRequest.h" | 24 #include "third_party/WebKit/public/platform/WebRTCStatsRequest.h" |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 bool ice_state_seen_[webrtc::PeerConnectionInterface::kIceConnectionMax] = {}; | 279 bool ice_state_seen_[webrtc::PeerConnectionInterface::kIceConnectionMax] = {}; |
278 | 280 |
279 base::WeakPtrFactory<RTCPeerConnectionHandler> weak_factory_; | 281 base::WeakPtrFactory<RTCPeerConnectionHandler> weak_factory_; |
280 | 282 |
281 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); | 283 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); |
282 }; | 284 }; |
283 | 285 |
284 } // namespace content | 286 } // namespace content |
285 | 287 |
286 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 288 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
OLD | NEW |