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

Unified Diff: content/browser/media/webrtc/webrtc_canvas_capture_browsertest.cc

Issue 2104643002: MediaCaptureFromElement: add content_browsertests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Allow <video>/<audio>.play() for tests when not initiated by user gesture. 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 | « no previous file | content/browser/media/webrtc/webrtc_capture_from_element_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/webrtc/webrtc_canvas_capture_browsertest.cc
diff --git a/content/browser/media/webrtc/webrtc_canvas_capture_browsertest.cc b/content/browser/media/webrtc/webrtc_canvas_capture_browsertest.cc
deleted file mode 100644
index 107ead30aae23fea218eb65f5770a3249cc2f59c..0000000000000000000000000000000000000000
--- a/content/browser/media/webrtc/webrtc_canvas_capture_browsertest.cc
+++ /dev/null
@@ -1,35 +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 "base/command_line.h"
-#include "base/macros.h"
-#include "build/build_config.h"
-#include "content/public/test/browser_test_utils.h"
-#include "content/public/test/content_browser_test_utils.h"
-#include "content/test/webrtc_content_browsertest_base.h"
-
-namespace {
-
-static const char kCanvasTestHtmlPage[] = "/media/canvas_capture_color.html";
-
-} // namespace
-
-namespace content {
-
-// This class tests the rgba color values produced by canvas capture.
-class WebRtcCanvasCaptureTest : public WebRtcContentBrowserTest {
- public:
- WebRtcCanvasCaptureTest() {}
- ~WebRtcCanvasCaptureTest() override {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(WebRtcCanvasCaptureTest);
-};
-
-IN_PROC_BROWSER_TEST_F(WebRtcCanvasCaptureTest,
- VerifyCanvasCaptureColor) {
- MakeTypicalCall("testCanvasCaptureColors();", kCanvasTestHtmlPage);
-}
-
-} // namespace content
« no previous file with comments | « no previous file | content/browser/media/webrtc/webrtc_capture_from_element_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698