Index: content/browser/frame_host/navigation_handle_impl.h |
diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h |
index 05fd51b502b0175f2e538a56558368fb5268b4e6..13a20e53274caec71bb629cf0169b528e730a401 100644 |
--- a/content/browser/frame_host/navigation_handle_impl.h |
+++ b/content/browser/frame_host/navigation_handle_impl.h |
@@ -429,6 +429,9 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
// Populates |throttles_| with the throttles for this navigation. |
void RegisterNavigationThrottles(); |
+ // Append a new NavigationThrottle (if any) to |throttle_|. |
clamy
2017/07/11 12:32:37
I would rephrase this as
// Takes ownership of |th
arthursonzogni
2017/07/11 14:36:35
Done.
|
+ void AddThrottle(std::unique_ptr<NavigationThrottle> throttle); |
+ |
// Checks for attempts to navigate to a page that is already referenced more |
// than once in the frame's ancestors. This is a helper function used by |
// WillStartRequest and WillRedirectRequest to prevent the navigation. |