OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "init_webrtc.h" | 5 #include "init_webrtc.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
| 9 #include "base/file_util.h" |
9 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
10 #include "base/files/file_util.h" | |
11 #include "base/metrics/field_trial.h" | 11 #include "base/metrics/field_trial.h" |
12 #include "base/native_library.h" | 12 #include "base/native_library.h" |
13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
14 #include "webrtc/base/basictypes.h" | 14 #include "webrtc/base/basictypes.h" |
15 #include "webrtc/base/logging.h" | 15 #include "webrtc/base/logging.h" |
16 | 16 |
17 const unsigned char* GetCategoryGroupEnabled(const char* category_group) { | 17 const unsigned char* GetCategoryGroupEnabled(const char* category_group) { |
18 return TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED(category_group); | 18 return TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED(category_group); |
19 } | 19 } |
20 | 20 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 InitializeWebRtcModule(); | 152 InitializeWebRtcModule(); |
153 return g_create_webrtc_media_engine(adm, adm_sc, encoder_factory, | 153 return g_create_webrtc_media_engine(adm, adm_sc, encoder_factory, |
154 decoder_factory); | 154 decoder_factory); |
155 } | 155 } |
156 | 156 |
157 void DestroyWebRtcMediaEngine(cricket::MediaEngineInterface* media_engine) { | 157 void DestroyWebRtcMediaEngine(cricket::MediaEngineInterface* media_engine) { |
158 g_destroy_webrtc_media_engine(media_engine); | 158 g_destroy_webrtc_media_engine(media_engine); |
159 } | 159 } |
160 | 160 |
161 #endif // LIBPEERCONNECTION_LIB | 161 #endif // LIBPEERCONNECTION_LIB |
OLD | NEW |