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 #ifndef THIRD_PARTY_LIBJINGLE_OVERRIDES_INIT_WEBRTC_H_ | 5 #ifndef THIRD_PARTY_LIBJINGLE_OVERRIDES_INIT_WEBRTC_H_ |
6 #define THIRD_PARTY_LIBJINGLE_OVERRIDES_INIT_WEBRTC_H_ | 6 #define THIRD_PARTY_LIBJINGLE_OVERRIDES_INIT_WEBRTC_H_ |
7 | 7 |
8 #include <string> | |
9 | |
10 #include "allocator_shim/allocator_stub.h" | 8 #include "allocator_shim/allocator_stub.h" |
11 #include "base/logging.h" | 9 #include "base/logging.h" |
12 #include "third_party/webrtc/system_wrappers/interface/event_tracer.h" | 10 #include "third_party/webrtc/system_wrappers/interface/event_tracer.h" |
13 | 11 |
14 namespace base { | 12 namespace base { |
15 class CommandLine; | 13 class CommandLine; |
16 } | 14 } |
17 | 15 |
18 namespace cricket { | 16 namespace cricket { |
19 class MediaEngineInterface; | 17 class MediaEngineInterface; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 #if !defined(LIBPEERCONNECTION_IMPLEMENTATION) | 59 #if !defined(LIBPEERCONNECTION_IMPLEMENTATION) |
62 // Load and initialize the shared WebRTC module (libpeerconnection). | 60 // Load and initialize the shared WebRTC module (libpeerconnection). |
63 // Call this explicitly to load and initialize the WebRTC module (e.g. before | 61 // Call this explicitly to load and initialize the WebRTC module (e.g. before |
64 // initializing the sandbox in Chrome). | 62 // initializing the sandbox in Chrome). |
65 // If not called explicitly, this function will still be called from the main | 63 // If not called explicitly, this function will still be called from the main |
66 // CreateWebRtcMediaEngine factory function the first time it is called. | 64 // CreateWebRtcMediaEngine factory function the first time it is called. |
67 bool InitializeWebRtcModule(); | 65 bool InitializeWebRtcModule(); |
68 #endif | 66 #endif |
69 | 67 |
70 #endif // THIRD_PARTY_LIBJINGLE_OVERRIDES_INIT_WEBRTC_H_ | 68 #endif // THIRD_PARTY_LIBJINGLE_OVERRIDES_INIT_WEBRTC_H_ |
OLD | NEW |