Chromium Code Reviews| Index: chrome/browser/supervised_user/supervised_user_interstitial.h |
| diff --git a/chrome/browser/supervised_user/supervised_user_interstitial.h b/chrome/browser/supervised_user/supervised_user_interstitial.h |
| index 9bbd70d5aa10ed52b107015e731190adb75725a7..34577f0580818927ba132daf3701341327f9aa8e 100644 |
| --- a/chrome/browser/supervised_user/supervised_user_interstitial.h |
| +++ b/chrome/browser/supervised_user/supervised_user_interstitial.h |
| @@ -27,11 +27,17 @@ class Profile; |
| class SupervisedUserInterstitial : public content::InterstitialPageDelegate, |
| public SupervisedUserServiceObserver { |
| public: |
| + // Interstitial type, used for testing. |
| + static content::InterstitialPageDelegate::TypeID kTypeForTesting; |
| + |
| static void Show(content::WebContents* web_contents, |
| const GURL& url, |
| SupervisedUserURLFilter::FilteringBehaviorReason reason, |
| const base::Callback<void(bool)>& callback); |
| + // content::InterstitialPageDelegate: |
|
Bernhard Bauer
2015/03/03 09:56:00
Can you move this to the private section?
meacer
2015/03/03 18:33:05
Done.
|
| + content::InterstitialPageDelegate::TypeID GetTypeForTesting() const override; |
| + |
| private: |
| SupervisedUserInterstitial( |
| content::WebContents* web_contents, |