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

Unified Diff: content/common/navigation_params.h

Issue 1222203004: PlzNavigate: Do not send synchronous navigations from the renderer to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years, 6 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/common/navigation_params.h
diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h
index 86e5e06917fd0946b456f2b467a3790cfe58c223..d1c330748e3fe146c0d209255d33316b680fae3a 100644
--- a/content/common/navigation_params.h
+++ b/content/common/navigation_params.h
@@ -22,6 +22,12 @@ class RefCountedMemory;
namespace content {
+// This is not used outside of the PlzNavigate project.
carlosk 2015/07/03 15:39:03 nit: This is generally indicated by having: // Plz
Fabrice (no longer in Chrome) 2015/07/06 12:45:09 Done.
+// Helper function to determine if the navigation request to |url| should be
clamy 2015/07/03 15:02:23 nit: s/navigation request/navigation nit: s/should
Fabrice (no longer in Chrome) 2015/07/06 12:45:09 Done.
+// sent to the network stack. It will not be sent for data URLs or JavaScript
+// URLs, cases where no network request needs to be made.
+bool ShouldMakeNetworkRequestForURL(const GURL& url);
nasko 2015/07/06 11:06:16 When this method is used on the renderer side, it
Fabrice (no longer in Chrome) 2015/07/06 12:45:09 Keeping the same name, per our offline chat. I cla
+
// The following structures hold parameters used during a navigation. In
// particular they are used by FrameMsg_Navigate, FrameMsg_CommitNavigation and
// FrameHostMsg_BeginNavigation.

Powered by Google App Engine
This is Rietveld 408576698