Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: content/public/browser/webrtc_callback_interface.cc

Issue 1855193002: Move the call to enable the WebRTC event log from PeerConnectionFactory to PeerConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introduced WebRTCCallbackInterface. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/public/browser/webrtc_callback_interface.h"
6
7 #include "base/lazy_instance.h"
8 #include "content/browser/media/webrtc/webrtc_callback_interface_impl.h"
9
10 namespace content {
11
12 namespace {
13
14 static base::LazyInstance<WebRTCCallbackInterfaceImpl>::Leaky
15 g_webrtc_callback_interface = LAZY_INSTANCE_INITIALIZER;
16
17 } // namespace
18
19 WebRTCCallbackInterface* WebRTCCallbackInterface::GetInstance() {
20 return static_cast<WebRTCCallbackInterface*>(
21 g_webrtc_callback_interface.Pointer());
22 }
23 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698