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

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

Issue 2889913002: [subresource_filter] Remove Forwarding NavigationThrottles (Closed)
Patch Set: Remove silly forwarding throttles 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..5daae9ba161c466cfd4e3111f7c941b06294b50d 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(state_, STARTED);
Charlie Reis 2017/05/17 22:39:24 nit: Reverse order, as on line 470 (expected, actu
Charlie Harrison 2017/05/18 19:14:04 Done.
+ return handle_;
+}
+
void NavigationSimulator::DidStartNavigation(
NavigationHandle* navigation_handle) {
// Check if this navigation is the one we're simulating.
« content/public/test/navigation_simulator.h ('K') | « content/public/test/navigation_simulator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698