| Index: content/public/browser/webrtc_callback_interface.cc
|
| diff --git a/content/public/browser/webrtc_callback_interface.cc b/content/public/browser/webrtc_callback_interface.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2ecfe43bbd0bb71fab4645c05af290f9f00bdb4c
|
| --- /dev/null
|
| +++ b/content/public/browser/webrtc_callback_interface.cc
|
| @@ -0,0 +1,23 @@
|
| +// Copyright (c) 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "content/public/browser/webrtc_callback_interface.h"
|
| +
|
| +#include "base/lazy_instance.h"
|
| +#include "content/browser/media/webrtc/webrtc_callback_interface_impl.h"
|
| +
|
| +namespace content {
|
| +
|
| +namespace {
|
| +
|
| +static base::LazyInstance<WebRTCCallbackInterfaceImpl>::Leaky
|
| + g_webrtc_callback_interface = LAZY_INSTANCE_INITIALIZER;
|
| +
|
| +} // namespace
|
| +
|
| +WebRTCCallbackInterface* WebRTCCallbackInterface::GetInstance() {
|
| + return static_cast<WebRTCCallbackInterface*>(
|
| + g_webrtc_callback_interface.Pointer());
|
| +}
|
| +} // namespace content
|
|
|