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

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

Issue 2239273002: Don't use SSLStatus from FrameHostMsg_DidCommitProvisionalLoad and instead cache it on the browser … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 3 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 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 const FrameNavigationEntry* frame_navigation_entry, 170 const FrameNavigationEntry* frame_navigation_entry,
171 const NavigationEntryImpl* navitation_entry); 171 const NavigationEntryImpl* navitation_entry);
172 172
173 // NavigationURLLoaderDelegate implementation. 173 // NavigationURLLoaderDelegate implementation.
174 void OnRequestRedirected( 174 void OnRequestRedirected(
175 const net::RedirectInfo& redirect_info, 175 const net::RedirectInfo& redirect_info,
176 const scoped_refptr<ResourceResponse>& response) override; 176 const scoped_refptr<ResourceResponse>& response) override;
177 void OnResponseStarted( 177 void OnResponseStarted(
178 const scoped_refptr<ResourceResponse>& response, 178 const scoped_refptr<ResourceResponse>& response,
179 std::unique_ptr<StreamHandle> body, 179 std::unique_ptr<StreamHandle> body,
180 const SSLStatus& ssl_status,
180 std::unique_ptr<NavigationData> navigation_data) override; 181 std::unique_ptr<NavigationData> navigation_data) override;
181 void OnRequestFailed(bool has_stale_copy_in_cache, int net_error) override; 182 void OnRequestFailed(bool has_stale_copy_in_cache, int net_error) override;
182 void OnRequestStarted(base::TimeTicks timestamp) override; 183 void OnRequestStarted(base::TimeTicks timestamp) override;
183 void OnServiceWorkerEncountered() override; 184 void OnServiceWorkerEncountered() override;
184 185
185 // Called when the NavigationThrottles have been checked by the 186 // Called when the NavigationThrottles have been checked by the
186 // NavigationHandle. 187 // NavigationHandle.
187 void OnStartChecksComplete(NavigationThrottle::ThrottleCheckResult result); 188 void OnStartChecksComplete(NavigationThrottle::ThrottleCheckResult result);
188 void OnRedirectChecksComplete(NavigationThrottle::ThrottleCheckResult result); 189 void OnRedirectChecksComplete(NavigationThrottle::ThrottleCheckResult result);
189 void OnWillProcessResponseChecksComplete( 190 void OnWillProcessResponseChecksComplete(
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // the WillProcessResponse checks are performed by the NavigationHandle. 237 // the WillProcessResponse checks are performed by the NavigationHandle.
237 scoped_refptr<ResourceResponse> response_; 238 scoped_refptr<ResourceResponse> response_;
238 std::unique_ptr<StreamHandle> body_; 239 std::unique_ptr<StreamHandle> body_;
239 240
240 DISALLOW_COPY_AND_ASSIGN(NavigationRequest); 241 DISALLOW_COPY_AND_ASSIGN(NavigationRequest);
241 }; 242 };
242 243
243 } // namespace content 244 } // namespace content
244 245
245 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 246 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698