Chromium Code Reviews| Index: content/public/test/navigation_simulator.h |
| diff --git a/content/public/test/navigation_simulator.h b/content/public/test/navigation_simulator.h |
| index ac76f92e8d9b5bafb2c4ca59ea7caee0cc6b4ea7..3e73f9b18e7aac881040df9ff3d916aeebf77eae 100644 |
| --- a/content/public/test/navigation_simulator.h |
| +++ b/content/public/test/navigation_simulator.h |
| @@ -19,6 +19,7 @@ class GURL; |
| namespace content { |
| +class NavigationHandle; |
| class NavigationHandleImpl; |
| class RenderFrameHost; |
| class TestRenderFrameHost; |
| @@ -145,6 +146,8 @@ class NavigationSimulator : public WebContentsObserver { |
| // It is an error to call this before Start() is called. |
| virtual NavigationThrottle::ThrottleCheckResult GetLastThrottleCheckResult(); |
| + virtual NavigationHandle* GetNavigationHandle() const; |
|
Charlie Reis
2017/05/17 22:39:24
nit: Please document all methods in content/public
Charlie Harrison
2017/05/18 19:14:05
Done.
|
| + |
| private: |
| // WebContentsObserver: |
| void DidStartNavigation(NavigationHandle* navigation_handle) override; |