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

Unified Diff: content/public/browser/navigation_handle.h

Issue 2696493003: Introduce SubframeNavigationFilteringThrottle (Closed)
Patch Set: fix test names Created 3 years, 10 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/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

Powered by Google App Engine
This is Rietveld 408576698