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

Side by Side Diff: content/browser/frame_host/navigator.cc

Issue 519533002: Initial PlzNavigate RDH-side logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 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) {
30 }
31
25 } // namespace content 32 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698