| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/browser/frame_host/navigator.h" | 5 #include "content/browser/frame_host/navigator.h" |
| 6 | 6 |
| 7 #include "base/time/time.h" | 7 #include "base/time/time.h" |
| 8 #include "content/common/resource_request_body.h" |
| 8 #include "content/public/browser/stream_handle.h" | 9 #include "content/public/browser/stream_handle.h" |
| 9 | 10 |
| 10 namespace content { | 11 namespace content { |
| 11 | 12 |
| 12 NavigationController* Navigator::GetController() { | 13 NavigationController* Navigator::GetController() { |
| 13 return NULL; | 14 return NULL; |
| 14 } | 15 } |
| 15 | 16 |
| 16 bool Navigator::NavigateToPendingEntry( | 17 bool Navigator::NavigateToPendingEntry( |
| 17 RenderFrameHostImpl* render_frame_host, | 18 RenderFrameHostImpl* render_frame_host, |
| 18 NavigationController::ReloadType reload_type) { | 19 NavigationController::ReloadType reload_type) { |
| 19 return false; | 20 return false; |
| 20 } | 21 } |
| 21 | 22 |
| 22 base::TimeTicks Navigator::GetCurrentLoadStart() { | 23 base::TimeTicks Navigator::GetCurrentLoadStart() { |
| 23 return base::TimeTicks::Now(); | 24 return base::TimeTicks::Now(); |
| 24 } | 25 } |
| 25 | 26 |
| 27 void Navigator::OnBeginNavigation( |
| 28 FrameTreeNode* frame_tree_node, |
| 29 const CommonNavigationParams& common_params, |
| 30 const BeginNavigationParams& begin_params, |
| 31 scoped_refptr<ResourceRequestBody> body) { |
| 32 } |
| 33 |
| 26 void Navigator::CommitNavigation(FrameTreeNode* frame_tree_node, | 34 void Navigator::CommitNavigation(FrameTreeNode* frame_tree_node, |
| 27 ResourceResponse* response, | 35 ResourceResponse* response, |
| 28 scoped_ptr<StreamHandle> body) { | 36 scoped_ptr<StreamHandle> body) { |
| 29 } | 37 } |
| 30 | 38 |
| 31 bool Navigator::IsWaitingForBeforeUnloadACK(FrameTreeNode* frame_tree_node) { | 39 bool Navigator::IsWaitingForBeforeUnloadACK(FrameTreeNode* frame_tree_node) { |
| 32 return false; | 40 return false; |
| 33 } | 41 } |
| 34 | 42 |
| 35 } // namespace content | 43 } // namespace content |
| OLD | NEW |