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

Unified Diff: extensions/browser/extension_navigation_throttle.h

Issue 2881733006: ExtensionNavigationThrottle: Enforce the same rules on redirect as we (Closed)
Patch Set: Merge branch 'kill_107_reboot2' into kill_107_reboot2_s 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..35ec4f2fda07eac77632b7974edb3e15d44cad41 100644
--- a/extensions/browser/extension_navigation_throttle.h
+++ b/extensions/browser/extension_navigation_throttle.h
@@ -22,8 +22,12 @@ class ExtensionNavigationThrottle : public content::NavigationThrottle {
content::NavigationHandle* navigation_handle);
~ExtensionNavigationThrottle() override;
+ // Shared throttle handler.
+ ThrottleCheckResult WillStartOrRedirectRequest();
Devlin 2017/05/18 15:22:44 Should this be private?
ncarter (slow) 2017/05/22 22:55:59 Done.
+
// content::NavigationThrottle implementation:
ThrottleCheckResult WillStartRequest() override;
+ ThrottleCheckResult WillRedirectRequest() override;
const char* GetNameForLogging() override;
private:

Powered by Google App Engine
This is Rietveld 408576698