| Index: third_party/WebKit/Source/web/AudioOutputDeviceClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/AudioOutputDeviceClientImpl.cpp b/third_party/WebKit/Source/web/AudioOutputDeviceClientImpl.cpp
|
| deleted file mode 100644
|
| index 7d9ccd18e0cdb994b2946b5c166681be854e54aa..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/web/AudioOutputDeviceClientImpl.cpp
|
| +++ /dev/null
|
| @@ -1,34 +0,0 @@
|
| -// Copyright 2015 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 "web/AudioOutputDeviceClientImpl.h"
|
| -
|
| -#include "core/dom/Document.h"
|
| -#include "core/dom/ExecutionContext.h"
|
| -#include "public/web/WebFrameClient.h"
|
| -#include "web/WebLocalFrameImpl.h"
|
| -#include <memory>
|
| -
|
| -namespace blink {
|
| -
|
| -AudioOutputDeviceClientImpl::AudioOutputDeviceClientImpl(LocalFrame& frame)
|
| - : AudioOutputDeviceClient(frame) {}
|
| -
|
| -AudioOutputDeviceClientImpl::~AudioOutputDeviceClientImpl() {}
|
| -
|
| -void AudioOutputDeviceClientImpl::CheckIfAudioSinkExistsAndIsAuthorized(
|
| - ExecutionContext* context,
|
| - const WebString& sink_id,
|
| - std::unique_ptr<WebSetSinkIdCallbacks> callbacks) {
|
| - DCHECK(context);
|
| - DCHECK(context->IsDocument());
|
| - Document* document = ToDocument(context);
|
| - WebLocalFrameImpl* web_frame =
|
| - WebLocalFrameImpl::FromFrame(document->GetFrame());
|
| - web_frame->Client()->CheckIfAudioSinkExistsAndIsAuthorized(
|
| - sink_id, WebSecurityOrigin(context->GetSecurityOrigin()),
|
| - callbacks.release());
|
| -}
|
| -
|
| -} // namespace blink
|
|
|