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

Unified Diff: content/public/test/navigation_simulator.h

Issue 2889913002: [subresource_filter] Remove Forwarding NavigationThrottles (Closed)
Patch Set: Remove silly forwarding throttles Created 3 years, 7 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/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;

Powered by Google App Engine
This is Rietveld 408576698