[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / content / browser / frame_host / navigator.cc
blob00e193fc747bfc721d496f4ced08e26d799dcb80
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 NavigationController* Navigator::GetController() {
14 return NULL;
17 bool Navigator::NavigateToPendingEntry(
18 FrameTreeNode* frame_tree_node,
19 NavigationController::ReloadType reload_type) {
20 return false;
23 base::TimeTicks Navigator::GetCurrentLoadStart() {
24 return base::TimeTicks::Now();
27 void Navigator::OnBeginNavigation(
28 FrameTreeNode* frame_tree_node,
29 const CommonNavigationParams& common_params,
30 const BeginNavigationParams& begin_params,
31 scoped_refptr<ResourceRequestBody> body) {
34 void Navigator::CommitNavigation(FrameTreeNode* frame_tree_node,
35 ResourceResponse* response,
36 scoped_ptr<StreamHandle> body) {
39 bool Navigator::IsWaitingForBeforeUnloadACK(FrameTreeNode* frame_tree_node) {
40 return false;
43 } // namespace content