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

Unified Diff: content/test/test_navigation_url_loader.h

Issue 1811913003: PlzNavigate: support NavigationThrottle::WillProcessResponse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on top of 1832803002 Created 4 years, 9 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/test/test_navigation_url_loader.h
diff --git a/content/test/test_navigation_url_loader.h b/content/test/test_navigation_url_loader.h
index 9cfe1ba0191940fb7e5551d1d9ca7ae55570b385..620fac51c540775ee5f51b58322cc3b66e1c47ad 100644
--- a/content/test/test_navigation_url_loader.h
+++ b/content/test/test_navigation_url_loader.h
@@ -33,6 +33,7 @@ class TestNavigationURLLoader
// NavigationURLLoader implementation.
void FollowRedirect() override;
+ void ProceedWithResponse() override;
NavigationRequestInfo* request_info() const { return request_info_.get(); }
@@ -47,12 +48,15 @@ class TestNavigationURLLoader
int redirect_count() { return redirect_count_; }
+ bool response_proceeded() { return response_proceeded_; }
+
private:
~TestNavigationURLLoader() override;
scoped_ptr<NavigationRequestInfo> request_info_;
NavigationURLLoaderDelegate* delegate_;
int redirect_count_;
+ bool response_proceeded_;
};
} // namespace content
« no previous file with comments | « content/browser/loader/navigation_url_loader_unittest.cc ('k') | content/test/test_navigation_url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698