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

Side by Side Diff: content/test/test_render_frame_host_factory.h

Issue 1352813006: Move WebUI ownership from the RenderFrameHostManager to the RenderFrameHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Doesn't try to create a WebUI if URL is invalid (fixes unit_tests). Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ 5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_
6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ 6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 15 matching lines...) Expand all
26 // RenderFrameHostFactory implementation. 26 // RenderFrameHostFactory implementation.
27 scoped_ptr<RenderFrameHostImpl> CreateRenderFrameHost( 27 scoped_ptr<RenderFrameHostImpl> CreateRenderFrameHost(
28 SiteInstance* site_instance, 28 SiteInstance* site_instance,
29 RenderViewHostImpl* render_view_host, 29 RenderViewHostImpl* render_view_host,
30 RenderFrameHostDelegate* delegate, 30 RenderFrameHostDelegate* delegate,
31 RenderWidgetHostDelegate* rwh_delegate, 31 RenderWidgetHostDelegate* rwh_delegate,
32 FrameTree* frame_tree, 32 FrameTree* frame_tree,
33 FrameTreeNode* frame_tree_node, 33 FrameTreeNode* frame_tree_node,
34 int32 routing_id, 34 int32 routing_id,
35 int32 widget_routing_id, 35 int32 widget_routing_id,
36 int flags) override; 36 int flags,
37 const GURL& dest_url,
38 int entry_bindings) override;
37 39
38 private: 40 private:
39 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHostFactory); 41 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHostFactory);
40 }; 42 };
41 43
42 } // namespace content 44 } // namespace content
43 45
44 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ 46 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698