| Index: chromecast/media/cma/pipeline/video_pipeline_device_client_impl.cc
|
| diff --git a/chromecast/media/cma/pipeline/video_pipeline_device_client_impl.cc b/chromecast/media/cma/pipeline/video_pipeline_device_client_impl.cc
|
| deleted file mode 100644
|
| index a604be36e20af3556156a9bade265f88fe0f6745..0000000000000000000000000000000000000000
|
| --- a/chromecast/media/cma/pipeline/video_pipeline_device_client_impl.cc
|
| +++ /dev/null
|
| @@ -1,33 +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 "chromecast/media/cma/pipeline/video_pipeline_device_client_impl.h"
|
| -
|
| -#include "base/bind.h"
|
| -#include "base/location.h"
|
| -#include "base/single_thread_task_runner.h"
|
| -#include "base/thread_task_runner_handle.h"
|
| -#include "chromecast/public/graphics_types.h"
|
| -
|
| -namespace chromecast {
|
| -namespace media {
|
| -
|
| -VideoPipelineDeviceClientImpl::VideoPipelineDeviceClientImpl(
|
| - const SizeChangeCB& size_change_cb)
|
| - : size_change_cb_(size_change_cb),
|
| - task_runner_(base::ThreadTaskRunnerHandle::Get()) {}
|
| -
|
| -VideoPipelineDeviceClientImpl::~VideoPipelineDeviceClientImpl() {}
|
| -
|
| -void VideoPipelineDeviceClientImpl::OnNaturalSizeChanged(const Size& size) {
|
| - if (task_runner_->BelongsToCurrentThread()) {
|
| - if (!size_change_cb_.is_null())
|
| - size_change_cb_.Run(size);
|
| - } else {
|
| - task_runner_->PostTask(FROM_HERE, base::Bind(size_change_cb_, size));
|
| - }
|
| -}
|
| -
|
| -} // namespace media
|
| -} // namespace chromecast
|
|
|