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

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

Issue 2537593002: PlzNavigate: Pass move information along with the response started notification for navigation requ… (Closed)
Patch Set: . Created 4 years 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 | « no previous file | content/browser/frame_host/navigation_request.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 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 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 const BeginNavigationParams& begin_params, 163 const BeginNavigationParams& begin_params,
164 const RequestNavigationParams& request_params, 164 const RequestNavigationParams& request_params,
165 bool browser_initiated, 165 bool browser_initiated,
166 const FrameNavigationEntry* frame_navigation_entry, 166 const FrameNavigationEntry* frame_navigation_entry,
167 const NavigationEntryImpl* navitation_entry); 167 const NavigationEntryImpl* navitation_entry);
168 168
169 // NavigationURLLoaderDelegate implementation. 169 // NavigationURLLoaderDelegate implementation.
170 void OnRequestRedirected( 170 void OnRequestRedirected(
171 const net::RedirectInfo& redirect_info, 171 const net::RedirectInfo& redirect_info,
172 const scoped_refptr<ResourceResponse>& response) override; 172 const scoped_refptr<ResourceResponse>& response) override;
173 void OnResponseStarted( 173 void OnResponseStarted(const scoped_refptr<ResourceResponse>& response,
174 const scoped_refptr<ResourceResponse>& response, 174 std::unique_ptr<StreamHandle> body,
175 std::unique_ptr<StreamHandle> body, 175 const SSLStatus& ssl_status,
176 const SSLStatus& ssl_status, 176 std::unique_ptr<NavigationData> navigation_data,
177 std::unique_ptr<NavigationData> navigation_data) override; 177 const GlobalRequestID& request_id,
178 bool is_download,
179 bool is_stream) override;
178 void OnRequestFailed(bool has_stale_copy_in_cache, int net_error) override; 180 void OnRequestFailed(bool has_stale_copy_in_cache, int net_error) override;
179 void OnRequestStarted(base::TimeTicks timestamp) override; 181 void OnRequestStarted(base::TimeTicks timestamp) override;
180 182
181 // Called when the NavigationThrottles have been checked by the 183 // Called when the NavigationThrottles have been checked by the
182 // NavigationHandle. 184 // NavigationHandle.
183 void OnStartChecksComplete(NavigationThrottle::ThrottleCheckResult result); 185 void OnStartChecksComplete(NavigationThrottle::ThrottleCheckResult result);
184 void OnRedirectChecksComplete(NavigationThrottle::ThrottleCheckResult result); 186 void OnRedirectChecksComplete(NavigationThrottle::ThrottleCheckResult result);
185 void OnWillProcessResponseChecksComplete( 187 void OnWillProcessResponseChecksComplete(
186 NavigationThrottle::ThrottleCheckResult result); 188 NavigationThrottle::ThrottleCheckResult result);
187 189
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // the WillProcessResponse checks are performed by the NavigationHandle. 230 // the WillProcessResponse checks are performed by the NavigationHandle.
229 scoped_refptr<ResourceResponse> response_; 231 scoped_refptr<ResourceResponse> response_;
230 std::unique_ptr<StreamHandle> body_; 232 std::unique_ptr<StreamHandle> body_;
231 233
232 DISALLOW_COPY_AND_ASSIGN(NavigationRequest); 234 DISALLOW_COPY_AND_ASSIGN(NavigationRequest);
233 }; 235 };
234 236
235 } // namespace content 237 } // namespace content
236 238
237 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 239 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698