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

Unified Diff: content/test/test_media_stream_client.h

Issue 264773002: Start moving WebUserMediaClient on the chromium side to be per frame instead of view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 8 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/test/layouttest_support.cc ('k') | content/test/test_media_stream_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_media_stream_client.h
===================================================================
--- content/test/test_media_stream_client.h (revision 267930)
+++ content/test/test_media_stream_client.h (working copy)
@@ -6,7 +6,7 @@
#define CONTENT_TEST_TEST_MEDIA_STREAM_CLIENT_H_
#include "base/callback_forward.h"
-#include "content/public/renderer/render_view_observer.h"
+#include "content/public/renderer/render_frame_observer.h"
#include "content/renderer/media/media_stream_client.h"
#include "third_party/WebKit/public/platform/WebURL.h"
@@ -14,10 +14,10 @@
// TestMediaStreamClient is a mock implementation of MediaStreamClient used when
// running layout tests.
-class TestMediaStreamClient : public RenderViewObserver,
+class TestMediaStreamClient : public RenderFrameObserver,
public MediaStreamClient {
public:
- explicit TestMediaStreamClient(RenderView* render_view);
+ explicit TestMediaStreamClient(RenderFrame* render_frame);
virtual ~TestMediaStreamClient();
// MediaStreamClient implementation.
« no previous file with comments | « content/test/layouttest_support.cc ('k') | content/test/test_media_stream_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698