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