Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / browser / frame_host / navigator.cc
blobba3892ede0300fd77a1054be09447176eeed0c98
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
3 // found in the LICENSE file.
5 #include "content/browser/frame_host/navigator.h"
7 #include "base/time/time.h"
8 #include "content/common/resource_request_body.h"
9 #include "content/public/browser/stream_handle.h"
11 namespace content {
13 NavigatorDelegate* Navigator::GetDelegate() {
14 return nullptr;
17 NavigationController* Navigator::GetController() {
18 return NULL;
21 bool Navigator::NavigateToPendingEntry(
22 FrameTreeNode* frame_tree_node,
23 const FrameNavigationEntry& frame_entry,
24 NavigationController::ReloadType reload_type,
25 bool is_same_document_history_load) {
26 return false;
29 base::TimeTicks Navigator::GetCurrentLoadStart() {
30 return base::TimeTicks::Now();
33 void Navigator::OnBeginNavigation(
34 FrameTreeNode* frame_tree_node,
35 const CommonNavigationParams& common_params,
36 const BeginNavigationParams& begin_params,
37 scoped_refptr<ResourceRequestBody> body) {
40 void Navigator::CommitNavigation(FrameTreeNode* frame_tree_node,
41 ResourceResponse* response,
42 scoped_ptr<StreamHandle> body) {
45 } // namespace content