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

Unified Diff: content/browser/frame_host/navigation_handle_impl_browsertest.cc

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
Index: content/browser/frame_host/navigation_handle_impl_browsertest.cc
diff --git a/content/browser/frame_host/navigation_handle_impl_browsertest.cc b/content/browser/frame_host/navigation_handle_impl_browsertest.cc
index 232312a5b75a4e855addf656f6d789c2e632d4d1..ba1c812e470e081ec81e0cf068c26b7b2637463b 100644
--- a/content/browser/frame_host/navigation_handle_impl_browsertest.cc
+++ b/content/browser/frame_host/navigation_handle_impl_browsertest.cc
@@ -150,8 +150,8 @@ class TestNavigationThrottle : public NavigationThrottle {
NavigationHandleImpl* navigation_handle_impl =
static_cast<NavigationHandleImpl*>(navigation_handle());
CHECK_NE(REQUEST_CONTEXT_TYPE_UNSPECIFIED,
- navigation_handle_impl->GetRequestContextType());
- request_context_type_ = navigation_handle_impl->GetRequestContextType();
+ navigation_handle_impl->request_context_type());
+ request_context_type_ = navigation_handle_impl->request_context_type();
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, did_call_will_start_);
return will_start_result_;
@@ -161,7 +161,7 @@ class TestNavigationThrottle : public NavigationThrottle {
NavigationHandleImpl* navigation_handle_impl =
static_cast<NavigationHandleImpl*>(navigation_handle());
CHECK_EQ(request_context_type_,
- navigation_handle_impl->GetRequestContextType());
+ navigation_handle_impl->request_context_type());
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
did_call_will_redirect_);
@@ -172,7 +172,7 @@ class TestNavigationThrottle : public NavigationThrottle {
NavigationHandleImpl* navigation_handle_impl =
static_cast<NavigationHandleImpl*>(navigation_handle());
CHECK_EQ(request_context_type_,
- navigation_handle_impl->GetRequestContextType());
+ navigation_handle_impl->request_context_type());
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
did_call_will_process_);
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.cc ('k') | content/browser/frame_host/navigation_handle_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698