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 3accd45b0ce08c6a4fd80d04befc4d3c808f4b8d..20a159af380b79c8a118d88c4fd31c9f2f599a1d 100644 |
--- a/content/browser/frame_host/navigation_handle_impl.h |
+++ b/content/browser/frame_host/navigation_handle_impl.h |
@@ -150,7 +150,10 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
// expose the NavigationHandle when navigating to an InterstialPage. |
NavigatorDelegate* GetDelegate() const; |
- RequestContextType GetRequestContextType() const; |
+ RequestContextType request_context_type() const { |
+ DCHECK_GE(state_, WILL_SEND_REQUEST); |
+ return request_context_type_; |
+ } |
// Get the unique id from the NavigationEntry associated with this |
// NavigationHandle. Note that a synchronous, renderer-initiated navigation |