OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include "webrtc/pc/channelmanager.h" | 11 #include "webrtc/pc/channelmanager.h" |
12 | 12 |
13 #ifdef HAVE_CONFIG_H | |
14 #include <config.h> | |
15 #endif | |
16 | |
17 #include <algorithm> | 13 #include <algorithm> |
18 | 14 |
19 #include "webrtc/api/mediacontroller.h" | 15 #include "webrtc/api/mediacontroller.h" |
20 #include "webrtc/base/bind.h" | 16 #include "webrtc/base/bind.h" |
21 #include "webrtc/base/common.h" | 17 #include "webrtc/base/common.h" |
22 #include "webrtc/base/logging.h" | 18 #include "webrtc/base/logging.h" |
23 #include "webrtc/base/stringencode.h" | 19 #include "webrtc/base/stringencode.h" |
24 #include "webrtc/base/stringutils.h" | 20 #include "webrtc/base/stringutils.h" |
25 #include "webrtc/base/trace_event.h" | 21 #include "webrtc/base/trace_event.h" |
26 #include "webrtc/media/base/device.h" | 22 #include "webrtc/media/base/device.h" |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 return worker_thread_->Invoke<bool>( | 418 return worker_thread_->Invoke<bool>( |
423 Bind(&MediaEngineInterface::StartRtcEventLog, media_engine_.get(), file)); | 419 Bind(&MediaEngineInterface::StartRtcEventLog, media_engine_.get(), file)); |
424 } | 420 } |
425 | 421 |
426 void ChannelManager::StopRtcEventLog() { | 422 void ChannelManager::StopRtcEventLog() { |
427 worker_thread_->Invoke<void>( | 423 worker_thread_->Invoke<void>( |
428 Bind(&MediaEngineInterface::StopRtcEventLog, media_engine_.get())); | 424 Bind(&MediaEngineInterface::StopRtcEventLog, media_engine_.get())); |
429 } | 425 } |
430 | 426 |
431 } // namespace cricket | 427 } // namespace cricket |
OLD | NEW |