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

Side by Side Diff: content/browser/frame_host/navigator_impl.h

Issue 1257553002: [Proof-of-concept] PlzNavigate and Service Worker Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass navigation_provider_id Created 5 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
7 7
8 #include "base/containers/scoped_ptr_hash_map.h" 8 #include "base/containers/scoped_ptr_hash_map.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 const GlobalRequestID& transferred_global_request_id, 71 const GlobalRequestID& transferred_global_request_id,
72 bool should_replace_current_entry, 72 bool should_replace_current_entry,
73 bool user_gesture) override; 73 bool user_gesture) override;
74 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override; 74 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override;
75 void OnBeginNavigation(FrameTreeNode* frame_tree_node, 75 void OnBeginNavigation(FrameTreeNode* frame_tree_node,
76 const CommonNavigationParams& common_params, 76 const CommonNavigationParams& common_params,
77 const BeginNavigationParams& begin_params, 77 const BeginNavigationParams& begin_params,
78 scoped_refptr<ResourceRequestBody> body) override; 78 scoped_refptr<ResourceRequestBody> body) override;
79 void CommitNavigation(FrameTreeNode* frame_tree_node, 79 void CommitNavigation(FrameTreeNode* frame_tree_node,
80 ResourceResponse* response, 80 ResourceResponse* response,
81 scoped_ptr<StreamHandle> body) override; 81 scoped_ptr<StreamHandle> body,
82 int navigation_provider_id) override;
82 void FailedNavigation(FrameTreeNode* frame_tree_node, 83 void FailedNavigation(FrameTreeNode* frame_tree_node,
83 bool has_stale_copy_in_cache, 84 bool has_stale_copy_in_cache,
84 int error_code) override; 85 int error_code) override;
85 void LogResourceRequestTime(base::TimeTicks timestamp, 86 void LogResourceRequestTime(base::TimeTicks timestamp,
86 const GURL& url) override; 87 const GURL& url) override;
87 void LogBeforeUnloadTime( 88 void LogBeforeUnloadTime(
88 const base::TimeTicks& renderer_before_unload_start_time, 89 const base::TimeTicks& renderer_before_unload_start_time,
89 const base::TimeTicks& renderer_before_unload_end_time) override; 90 const base::TimeTicks& renderer_before_unload_end_time) override;
90 void CancelNavigation(FrameTreeNode* frame_tree_node) override; 91 void CancelNavigation(FrameTreeNode* frame_tree_node) override;
91 92
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 NavigatorDelegate* delegate_; 145 NavigatorDelegate* delegate_;
145 146
146 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; 147 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_;
147 148
148 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 149 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
149 }; 150 };
150 151
151 } // namespace content 152 } // namespace content
152 153
153 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 154 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698