| Index: content/public/browser/navigation_handle.h
|
| diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
|
| index 0f3892c7015bb271d10eb5716dbc3c3aad61d274..9fdc1eabda3f965a96f13870604ff123384433cf 100644
|
| --- a/content/public/browser/navigation_handle.h
|
| +++ b/content/public/browser/navigation_handle.h
|
| @@ -278,6 +278,12 @@ class CONTENT_EXPORT NavigationHandle {
|
| // ResourceDispatcherHostDelegate::GetNavigationData during commit. This will
|
| // be a clone of the NavigationData.
|
| virtual NavigationData* GetNavigationData() = 0;
|
| +
|
| + // This method is designed to be used for the Call*ForTesting methods, where
|
| + // the decision to cancel is deferred and calculated asynchronously. In those
|
| + // cases, this method will return true once CancelDeferredNavigation is
|
| + // called.
|
| + virtual bool IsCancellingForTesting() = 0;
|
| };
|
|
|
| } // namespace content
|
|
|