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

Unified Diff: content/browser/frame_host/navigation_request.h

Issue 906283003: PlzNavigate: Support data urls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/navigation_request.h
diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h
index b49d6929d1b9958e313d309f12777f2fb4f83b7e..a88ca281478e1247852eb19d692bca7c7d3bddbc 100644
--- a/content/browser/frame_host/navigation_request.h
+++ b/content/browser/frame_host/navigation_request.h
@@ -70,11 +70,11 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
~NavigationRequest() override;
- // Called on the UI thread by the Navigator to start the navigation on the IO
- // thread.
+ // Called on the UI thread by the Navigator to start the navigation. Returns
+ // whether a request was made on the IO thread.
// TODO(clamy): see if ResourceRequestBody could be un-refcounted to avoid
// threading subtleties.
- void BeginNavigation();
+ bool BeginNavigation();
const CommonNavigationParams& common_params() const { return common_params_; }
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_request.cc » ('j') | content/browser/frame_host/navigation_request.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698