Chromium Code Reviews| Index: content/public/browser/navigation_handle.h |
| diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h |
| index 3b2bbadda772a2f31a97b5faff489b0b730728c9..e72dd51c718ecad1cc6db491586236e9b6f84471 100644 |
| --- a/content/public/browser/navigation_handle.h |
| +++ b/content/public/browser/navigation_handle.h |
| @@ -93,6 +93,12 @@ class CONTENT_EXPORT NavigationHandle { |
| // Resumes a navigation that was previously deferred by a NavigationThrottle. |
| virtual void Resume() = 0; |
| + // Cancels a navigation that was previously paused by a NavigationThrottle. |
|
nasko
2015/11/06 17:31:59
nit: s/paused/deferred/, so we are consistent in o
clamy
2015/11/09 13:56:27
Done.
|
| + // |result| should be equal to NavigationThrottle::CANCEL or |
| + // NavigationThrottle::CANCEL_AND_IGNORE. |
| + virtual void CancelDeferredNavigation( |
| + NavigationThrottle::ThrottleCheckResult result) = 0; |
| + |
| // Testing methods ---------------------------------------------------------- |
| // |
| // The following methods should be used exclusively for writing unit tests. |