Chromium Code Reviews| 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/public/browser/stream_handle.h" | |
| 8 | 9 |
| 9 namespace content { | 10 namespace content { |
| 10 | 11 |
| 11 NavigationController* Navigator::GetController() { | 12 NavigationController* Navigator::GetController() { |
| 12 return NULL; | 13 return NULL; |
| 13 } | 14 } |
| 14 | 15 |
| 15 bool Navigator::NavigateToPendingEntry( | 16 bool Navigator::NavigateToPendingEntry( |
| 16 RenderFrameHostImpl* render_frame_host, | 17 RenderFrameHostImpl* render_frame_host, |
| 17 NavigationController::ReloadType reload_type) { | 18 NavigationController::ReloadType reload_type) { |
| 18 return false; | 19 return false; |
| 19 } | 20 } |
| 20 | 21 |
| 21 base::TimeTicks Navigator::GetCurrentLoadStart() { | 22 base::TimeTicks Navigator::GetCurrentLoadStart() { |
| 22 return base::TimeTicks::Now(); | 23 return base::TimeTicks::Now(); |
| 23 } | 24 } |
| 24 | 25 |
| 26 void Navigator::CommitNavigation(RenderFrameHostImpl* render_frame_host, | |
| 27 const GURL& url, | |
| 28 ResourceResponse* response, | |
| 29 scoped_ptr<StreamHandle> body) { | |
|
nasko
2014/09/24 21:15:34
Why move the empty method here?
davidben
2014/10/03 16:27:51
It has a scoped_ptr<StreamHandle> which means it n
| |
| 30 } | |
| 31 | |
| 25 } // namespace content | 32 } // namespace content |
| OLD | NEW |