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

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

Issue 1693563002: PROTOTYPE: PlzNavigate: use a Mojo data pipe to stream navigation data to the renderer. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Browser sends URLRequest id to the renderer and renderer uses intermediary buffer for data: none he… Created 4 years, 8 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
« no previous file with comments | « content/browser/frame_host/navigator.cc ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 ui::PageTransition page_transition, 72 ui::PageTransition page_transition,
73 const GlobalRequestID& transferred_global_request_id, 73 const GlobalRequestID& transferred_global_request_id,
74 bool should_replace_current_entry) override; 74 bool should_replace_current_entry) override;
75 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override; 75 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override;
76 void OnBeginNavigation(FrameTreeNode* frame_tree_node, 76 void OnBeginNavigation(FrameTreeNode* frame_tree_node,
77 const CommonNavigationParams& common_params, 77 const CommonNavigationParams& common_params,
78 const BeginNavigationParams& begin_params, 78 const BeginNavigationParams& begin_params,
79 scoped_refptr<ResourceRequestBody> body) override; 79 scoped_refptr<ResourceRequestBody> body) override;
80 void CommitNavigation(NavigationRequest* navigation_request, 80 void CommitNavigation(NavigationRequest* navigation_request,
81 ResourceResponse* response, 81 ResourceResponse* response,
82 scoped_ptr<StreamHandle> body) override; 82 mojo::ScopedDataPipeConsumerHandle data_consumer_handle,
83 int request_id) override;
83 void FailedNavigation(FrameTreeNode* frame_tree_node, 84 void FailedNavigation(FrameTreeNode* frame_tree_node,
84 bool has_stale_copy_in_cache, 85 bool has_stale_copy_in_cache,
85 int error_code) override; 86 int error_code) override;
86 void LogResourceRequestTime(base::TimeTicks timestamp, 87 void LogResourceRequestTime(base::TimeTicks timestamp,
87 const GURL& url) override; 88 const GURL& url) override;
88 void LogBeforeUnloadTime( 89 void LogBeforeUnloadTime(
89 const base::TimeTicks& renderer_before_unload_start_time, 90 const base::TimeTicks& renderer_before_unload_start_time,
90 const base::TimeTicks& renderer_before_unload_end_time) override; 91 const base::TimeTicks& renderer_before_unload_end_time) override;
91 void CancelNavigation(FrameTreeNode* frame_tree_node) override; 92 void CancelNavigation(FrameTreeNode* frame_tree_node) override;
92 93
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 NavigatorDelegate* delegate_; 154 NavigatorDelegate* delegate_;
154 155
155 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; 156 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_;
156 157
157 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 158 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
158 }; 159 };
159 160
160 } // namespace content 161 } // namespace content
161 162
162 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 163 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator.cc ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698