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

Unified Diff: content/public/test/navigation_simulator.cc

Issue 2889913002: [subresource_filter] Remove Forwarding NavigationThrottles (Closed)
Patch Set: shivanisha review Created 3 years, 7 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/public/test/navigation_simulator.cc
diff --git a/content/public/test/navigation_simulator.cc b/content/public/test/navigation_simulator.cc
index bf2995e4f2fdf17b6ab95c23b02c56dfe4fd1112..5b12daabdb34c761cf77284a48e02981e97e5972 100644
--- a/content/public/test/navigation_simulator.cc
+++ b/content/public/test/navigation_simulator.cc
@@ -483,6 +483,11 @@ NavigationSimulator::GetLastThrottleCheckResult() {
return last_throttle_check_result_.value();
}
+NavigationHandle* NavigationSimulator::GetNavigationHandle() const {
+ CHECK_EQ(STARTED, state_);
+ return handle_;
+}
+
void NavigationSimulator::DidStartNavigation(
NavigationHandle* navigation_handle) {
// Check if this navigation is the one we're simulating.

Powered by Google App Engine
This is Rietveld 408576698