Chromium Code Reviews| 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. |