Index: chrome/browser/supervised_user/supervised_user_interstitial.h |
diff --git a/chrome/browser/managed_mode/managed_mode_interstitial.h b/chrome/browser/supervised_user/supervised_user_interstitial.h |
similarity index 66% |
rename from chrome/browser/managed_mode/managed_mode_interstitial.h |
rename to chrome/browser/supervised_user/supervised_user_interstitial.h |
index 7acc205a7aca30e75b66c1e48450eaea3522459a..b9aa7586e145a2a669c6a99a934abe3980af57b6 100644 |
--- a/chrome/browser/managed_mode/managed_mode_interstitial.h |
+++ b/chrome/browser/supervised_user/supervised_user_interstitial.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_MANAGED_MODE_MANAGED_MODE_INTERSTITIAL_H_ |
-#define CHROME_BROWSER_MANAGED_MODE_MANAGED_MODE_INTERSTITIAL_H_ |
+#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_ |
+#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_ |
#include <string> |
@@ -18,20 +18,20 @@ class InterstitialPage; |
class WebContents; |
} |
-// Delegate for an interstitial page when a page is blocked in managed mode |
-// because it is not on any whitelist. It lets an authorized user preview the |
-// blocked page, to decide later whether to manually allow it. |
-class ManagedModeInterstitial : public content::InterstitialPageDelegate { |
+// Delegate for an interstitial page when a page is blocked for a supervised |
+// user because it is on a blacklist (in "allow everything" mode) or not on any |
+// whitelist (in "allow only specified sites" mode). |
Pam (message me for reviews)
2014/06/16 23:51:51
Wow, ghosts of features past.
|
+class SupervisedUserInterstitial : public content::InterstitialPageDelegate { |
public: |
static void Show(content::WebContents* web_contents, |
const GURL& url, |
const base::Callback<void(bool)>& callback); |
private: |
- ManagedModeInterstitial(content::WebContents* web_contents, |
- const GURL& url, |
- const base::Callback<void(bool)>& callback); |
- virtual ~ManagedModeInterstitial(); |
+ SupervisedUserInterstitial(content::WebContents* web_contents, |
+ const GURL& url, |
+ const base::Callback<void(bool)>& callback); |
+ virtual ~SupervisedUserInterstitial(); |
bool Init(); |
@@ -62,7 +62,7 @@ class ManagedModeInterstitial : public content::InterstitialPageDelegate { |
base::Callback<void(bool)> callback_; |
- DISALLOW_COPY_AND_ASSIGN(ManagedModeInterstitial); |
+ DISALLOW_COPY_AND_ASSIGN(SupervisedUserInterstitial); |
}; |
-#endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_MODE_INTERSTITIAL_H_ |
+#endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_ |