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

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

Issue 2577583002: Rename NavigationHandle::GetRequestContextType to request_context_type. (Closed)
Patch Set: Moved implementation to header file. Created 4 years 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
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_handle_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698