OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/public/test/navigation_simulator.h" |
| 6 |
| 7 #include "base/memory/ptr_util.h" |
| 8 #include "content/public/browser/render_frame_host.h" |
| 9 #include "content/test/navigation_simulator_impl.h" |
| 10 #include "content/test/test_render_frame_host.h" |
| 11 |
| 12 namespace content { |
| 13 |
| 14 // static |
| 15 std::unique_ptr<NavigationSimulator> |
| 16 NavigationSimulator::CreateRendererInitiated( |
| 17 const GURL& original_url, |
| 18 RenderFrameHost* render_frame_host) { |
| 19 return base::MakeUnique<NavigationSimulatorImpl>( |
| 20 original_url, static_cast<TestRenderFrameHost*>(render_frame_host)); |
| 21 } |
| 22 |
| 23 NavigationSimulator::~NavigationSimulator() {} |
| 24 |
| 25 } // namespace content |
OLD | NEW |