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

Unified Diff: chromecast/media/cma/pipeline/video_pipeline_device_client_impl.h

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Address alokp@ comments Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chromecast/media/cma/pipeline/video_pipeline_device_client_impl.h
diff --git a/chromecast/media/cma/pipeline/video_pipeline_device_client_impl.h b/chromecast/media/cma/pipeline/video_pipeline_device_client_impl.h
deleted file mode 100644
index e39fdc95ac5e69354946e23283bfc57829fc6ab8..0000000000000000000000000000000000000000
--- a/chromecast/media/cma/pipeline/video_pipeline_device_client_impl.h
+++ /dev/null
@@ -1,39 +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.
-
-#ifndef CHROMECAST_MEDIA_CMA_PIPELINE_VIDEO_PIPELINE_DEVICE_CLIENT_IMPL_H_
-#define CHROMECAST_MEDIA_CMA_PIPELINE_VIDEO_PIPELINE_DEVICE_CLIENT_IMPL_H_
-
-#include "base/callback.h"
-#include "base/memory/ref_counted.h"
-#include "chromecast/public/media/media_component_device.h"
-#include "chromecast/public/media/video_pipeline_device.h"
-
-namespace base {
-class SingleThreadTaskRunner;
-}
-
-namespace chromecast {
-namespace media {
-
-// Helper for implementing VideoPipelineDevice::VideoClient with
-// a base::Callback.
-class VideoPipelineDeviceClientImpl : public VideoPipelineDevice::VideoClient {
- public:
- typedef base::Callback<void(const Size&)> SizeChangeCB;
-
- VideoPipelineDeviceClientImpl(const SizeChangeCB& size_change_cb);
- ~VideoPipelineDeviceClientImpl() override;
-
- void OnNaturalSizeChanged(const Size& size) override;
-
- private:
- SizeChangeCB size_change_cb_;
- scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
-};
-
-} // namespace media
-} // namespace chromecast
-
-#endif // CHROMECAST_MEDIA_CMA_PIPELINE_VIDEO_PIPELINE_DEVICE_CLIENT_IMPL_H_
« no previous file with comments | « chromecast/media/cma/pipeline/video_pipeline.cc ('k') | chromecast/media/cma/pipeline/video_pipeline_device_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698