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

Unified Diff: chrome/browser/supervised_user/supervised_user_resource_throttle.h

Issue 1808653003: Move the supervised user error page to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to fix compile problem Created 4 years, 9 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: chrome/browser/supervised_user/supervised_user_resource_throttle.h
diff --git a/chrome/browser/supervised_user/supervised_user_resource_throttle.h b/chrome/browser/supervised_user/supervised_user_resource_throttle.h
index be5679e7899efed8a0bcd2b38413092b22200667..b082f20f0b98710336c4661f166d2d72e3160795 100644
--- a/chrome/browser/supervised_user/supervised_user_resource_throttle.h
+++ b/chrome/browser/supervised_user/supervised_user_resource_throttle.h
@@ -10,6 +10,7 @@
#include "base/memory/weak_ptr.h"
#include "chrome/browser/supervised_user/supervised_user_url_filter.h"
#include "chrome/browser/supervised_user/supervised_users.h"
+#include "components/supervised_user_error_page/supervised_user_error_page.h"
#include "content/public/browser/resource_throttle.h"
namespace net {
@@ -35,10 +36,10 @@ class SupervisedUserResourceThrottle : public content::ResourceThrottle {
void ShowInterstitialIfNeeded(bool is_redirect, const GURL& url, bool* defer);
void ShowInterstitial(
const GURL& url,
- SupervisedUserURLFilter::FilteringBehaviorReason reason);
+ supervised_user_error_page::FilteringBehaviorReason reason);
void OnCheckDone(const GURL& url,
SupervisedUserURLFilter::FilteringBehavior behavior,
- SupervisedUserURLFilter::FilteringBehaviorReason reason,
+ supervised_user_error_page::FilteringBehaviorReason reason,
bool uncertain);
void OnInterstitialResult(bool continue_request);

Powered by Google App Engine
This is Rietveld 408576698