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

Unified Diff: content/shell/renderer/shell_media_stream_client.h

Issue 18590002: Migrate MediaStream test code from content/shell/renderer/ to content/test/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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: content/shell/renderer/shell_media_stream_client.h
diff --git a/content/shell/renderer/shell_media_stream_client.h b/content/shell/renderer/shell_media_stream_client.h
deleted file mode 100644
index df74532ac6f7f87d8cd7dd22da0ca3b82096d31e..0000000000000000000000000000000000000000
--- a/content/shell/renderer/shell_media_stream_client.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2013 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 CONTENT_SHELL_RENDERER_SHELL_MEDIA_STREAM_CLIENT_H_
-#define CONTENT_SHELL_RENDERER_SHELL_MEDIA_STREAM_CLIENT_H_
-
-#include "base/callback_forward.h"
-#include "third_party/WebKit/public/platform/WebURL.h"
-#include "webkit/renderer/media/media_stream_client.h"
-
-namespace content {
-
-// ShellMediaStreamClient is a mock implementation of
-// webkit_media::MediaStreamClient used when running layout tests.
-class ShellMediaStreamClient : public webkit_media::MediaStreamClient {
- public:
- ShellMediaStreamClient();
- virtual ~ShellMediaStreamClient();
-
- // webkit_media::MediaStreamClient implementation.
- virtual bool IsMediaStream(const GURL& url) OVERRIDE;
- virtual scoped_refptr<webkit_media::VideoFrameProvider> GetVideoFrameProvider(
- const GURL& url,
- const base::Closure& error_cb,
- const webkit_media::VideoFrameProvider::RepaintCB& repaint_cb) OVERRIDE;
- virtual scoped_refptr<webkit_media::MediaStreamAudioRenderer>
- GetAudioRenderer(const GURL& url) OVERRIDE;
-};
-
-} // namespace content
-
-#endif // CONTENT_SHELL_RENDERER_SHELL_MEDIA_STREAM_CLIENT_H_
« no previous file with comments | « content/shell/renderer/shell_content_renderer_client.cc ('k') | content/shell/renderer/shell_media_stream_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698