| Index: chrome/browser/supervised_user/supervised_user_interstitial.cc
|
| diff --git a/chrome/browser/supervised_user/supervised_user_interstitial.cc b/chrome/browser/supervised_user/supervised_user_interstitial.cc
|
| index 65798dc6028cf02d1800be33eee4cae5c1094fb0..402899958a9146f60548890de6beb00ff86f78d1 100644
|
| --- a/chrome/browser/supervised_user/supervised_user_interstitial.cc
|
| +++ b/chrome/browser/supervised_user/supervised_user_interstitial.cc
|
| @@ -99,6 +99,10 @@ class TabCloser : public content::WebContentsUserData<TabCloser> {
|
|
|
| DEFINE_WEB_CONTENTS_USER_DATA_KEY(TabCloser);
|
|
|
| +content::InterstitialPageDelegate::TypeID
|
| + SupervisedUserInterstitial::kTypeForTesting =
|
| + &SupervisedUserInterstitial::kTypeForTesting;
|
| +
|
| // static
|
| void SupervisedUserInterstitial::Show(
|
| WebContents* web_contents,
|
| @@ -350,6 +354,11 @@ void SupervisedUserInterstitial::OnDontProceed() {
|
| DispatchContinueRequest(false);
|
| }
|
|
|
| +content::InterstitialPageDelegate::TypeID
|
| +SupervisedUserInterstitial::GetTypeForTesting() const {
|
| + return SupervisedUserInterstitial::kTypeForTesting;
|
| +}
|
| +
|
| void SupervisedUserInterstitial::OnURLFilterChanged() {
|
| if (ShouldProceed())
|
| interstitial_page_->Proceed();
|
|
|