| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "content/public/browser/navigation_handle.h" | 5 #include "content/public/browser/navigation_handle.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "content/browser/frame_host/navigation_handle_impl.h" | 9 #include "content/browser/frame_host/navigation_handle_impl.h" |
| 10 #include "content/browser/frame_host/navigator.h" | 10 #include "content/browser/frame_host/navigator.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 // static | 23 // static |
| 24 scoped_ptr<NavigationHandle> NavigationHandle::CreateNavigationHandleForTesting( | 24 scoped_ptr<NavigationHandle> NavigationHandle::CreateNavigationHandleForTesting( |
| 25 const GURL& url, | 25 const GURL& url, |
| 26 RenderFrameHost* render_frame_host) { | 26 RenderFrameHost* render_frame_host) { |
| 27 scoped_ptr<NavigationHandleImpl> handle_impl = NavigationHandleImpl::Create( | 27 scoped_ptr<NavigationHandleImpl> handle_impl = NavigationHandleImpl::Create( |
| 28 url, | 28 url, |
| 29 static_cast<RenderFrameHostImpl*>(render_frame_host)->frame_tree_node(), | 29 static_cast<RenderFrameHostImpl*>(render_frame_host)->frame_tree_node(), |
| 30 false, // is_synchronous | 30 false, // is_synchronous |
| 31 false, // is_srcdoc | 31 false, // is_srcdoc |
| 32 base::TimeTicks::Now()); | 32 base::TimeTicks::Now(), 0); |
| 33 return scoped_ptr<NavigationHandle>(std::move(handle_impl)); | 33 return scoped_ptr<NavigationHandle>(std::move(handle_impl)); |
| 34 } | 34 } |
| 35 | 35 |
| 36 } // namespace content | 36 } // namespace content |
| OLD | NEW |