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

Unified Diff: content/browser/media/capture/screen_capture_device_android.cc

Issue 2116883002: Revert of ScreenCapture for Android phase1, part I (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « content/browser/media/capture/screen_capture_device_android.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/capture/screen_capture_device_android.cc
diff --git a/content/browser/media/capture/screen_capture_device_android.cc b/content/browser/media/capture/screen_capture_device_android.cc
deleted file mode 100644
index 077542e4b252a3f6cd8e404a827cc3d15aa68546..0000000000000000000000000000000000000000
--- a/content/browser/media/capture/screen_capture_device_android.cc
+++ /dev/null
@@ -1,34 +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 "content/browser/media/capture/screen_capture_device_android.h"
-
-#include "base/logging.h"
-#include "base/memory/ptr_util.h"
-#include "media/capture/content/android/screen_capture_machine_android.h"
-
-namespace content {
-
-ScreenCaptureDeviceAndroid::ScreenCaptureDeviceAndroid()
- : core_(base::WrapUnique(new media::ScreenCaptureMachineAndroid())) {}
-
-ScreenCaptureDeviceAndroid::~ScreenCaptureDeviceAndroid() {
- DVLOG(2) << "ScreenCaptureDeviceAndroid@" << this << " destroying.";
-}
-
-void ScreenCaptureDeviceAndroid::AllocateAndStart(
- const media::VideoCaptureParams& params,
- std::unique_ptr<Client> client) {
- DVLOG(1) << "Allocating " << params.requested_format.frame_size.ToString();
- core_.AllocateAndStart(params, std::move(client));
-}
-
-void ScreenCaptureDeviceAndroid::StopAndDeAllocate() {
- core_.StopAndDeAllocate();
-}
-
-void ScreenCaptureDeviceAndroid::RequestRefreshFrame() {
- core_.RequestRefreshFrame();
-}
-} // namespace content
« no previous file with comments | « content/browser/media/capture/screen_capture_device_android.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698