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

Unified Diff: content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc

Issue 16032007: Create RenderFrame/RenderFrameHost for the main frame of a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing routing ID expectations. Created 7 years, 7 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/renderer_host/render_frame_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
diff --git a/content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc b/content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
index 953442a038c45c073a359c4b7165222c76caf369..304dc2ee485ab0bd95e7094971a11b45f0b8b958 100644
--- a/content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
+++ b/content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
@@ -227,10 +227,11 @@ class CaptureTestRenderViewHost : public TestRenderViewHost {
RenderViewHostDelegate* delegate,
RenderWidgetHostDelegate* widget_delegate,
int routing_id,
+ int main_frame_routing_id,
bool swapped_out,
CaptureTestSourceController* controller)
: TestRenderViewHost(instance, delegate, widget_delegate, routing_id,
- swapped_out),
+ main_frame_routing_id, swapped_out),
controller_(controller) {
// Override the default view installed by TestRenderViewHost; we need
// our special subclass which has mocked-out tab capture support.
@@ -287,10 +288,12 @@ class CaptureTestRenderViewHostFactory : public RenderViewHostFactory {
RenderViewHostDelegate* delegate,
RenderWidgetHostDelegate* widget_delegate,
int routing_id,
+ int main_frame_routing_id,
bool swapped_out,
SessionStorageNamespace* session_storage_namespace) OVERRIDE {
return new CaptureTestRenderViewHost(instance, delegate, widget_delegate,
- routing_id, swapped_out, controller_);
+ routing_id, main_frame_routing_id,
+ swapped_out, controller_);
}
private:
CaptureTestSourceController* controller_;
« no previous file with comments | « no previous file | content/browser/renderer_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698