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

Unified Diff: services/video_capture/buffer_tracker_factory_impl.cc

Issue 2573223002: [Mojo Video Capture] Simplify media::VideoCaptureDevice::Client:Buffer to a struct (Closed)
Patch Set: mcasas comments Created 3 years, 11 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: services/video_capture/buffer_tracker_factory_impl.cc
diff --git a/services/video_capture/buffer_tracker_factory_impl.cc b/services/video_capture/buffer_tracker_factory_impl.cc
deleted file mode 100644
index 2b502ab9dd948434cb75fcefc48b95ab43ca3388..0000000000000000000000000000000000000000
--- a/services/video_capture/buffer_tracker_factory_impl.cc
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright 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 "services/video_capture/buffer_tracker_factory_impl.h"
-
-#include "base/memory/ptr_util.h"
-#include "services/video_capture/mojo_shared_memory_buffer_tracker.h"
-
-namespace video_capture {
-
-std::unique_ptr<media::VideoCaptureBufferTracker>
-BufferTrackerFactoryImpl::CreateTracker(media::VideoPixelStorage storage) {
- switch (storage) {
- case media::PIXEL_STORAGE_CPU:
- return base::MakeUnique<MojoSharedMemoryBufferTracker>();
- }
- NOTREACHED();
- return std::unique_ptr<media::VideoCaptureBufferTracker>();
-}
-
-} // namespace video_capture
« no previous file with comments | « services/video_capture/buffer_tracker_factory_impl.h ('k') | services/video_capture/device_media_to_mojo_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698