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

Unified Diff: extensions/browser/extension_navigation_throttle.h

Issue 2881733006: ExtensionNavigationThrottle: Enforce the same rules on redirect as we (Closed)
Patch Set: Fix compile. 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: extensions/browser/extension_navigation_throttle.h
diff --git a/extensions/browser/extension_navigation_throttle.h b/extensions/browser/extension_navigation_throttle.h
index 4ac24de5cb3d734b24ae6e68a11652372b71b6cc..c89014bf3f52b79fb1f9be9a8aea1425e0aca7c8 100644
--- a/extensions/browser/extension_navigation_throttle.h
+++ b/extensions/browser/extension_navigation_throttle.h
@@ -24,9 +24,13 @@ class ExtensionNavigationThrottle : public content::NavigationThrottle {
// content::NavigationThrottle implementation:
ThrottleCheckResult WillStartRequest() override;
+ ThrottleCheckResult WillRedirectRequest() override;
const char* GetNameForLogging() override;
private:
+ // Shared throttle handler.
+ ThrottleCheckResult WillStartOrRedirectRequest();
+
DISALLOW_COPY_AND_ASSIGN(ExtensionNavigationThrottle);
};

Powered by Google App Engine
This is Rietveld 408576698