Index: chrome/browser/supervised_user/supervised_user_site_list.h |
diff --git a/chrome/browser/managed_mode/managed_mode_site_list.h b/chrome/browser/supervised_user/supervised_user_site_list.h |
similarity index 73% |
rename from chrome/browser/managed_mode/managed_mode_site_list.h |
rename to chrome/browser/supervised_user/supervised_user_site_list.h |
index 7a6c03542f291d1017fb4b2a42cfacec5fdea58b..06e175faf07886f3bd408f2a92875321841cef2d 100644 |
--- a/chrome/browser/managed_mode/managed_mode_site_list.h |
+++ b/chrome/browser/supervised_user/supervised_user_site_list.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_SITE_LIST_H_ |
-#define CHROME_BROWSER_MANAGED_MODE_MANAGED_MODE_SITE_LIST_H_ |
+#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SITE_LIST_H_ |
+#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SITE_LIST_H_ |
#include <string> |
#include <vector> |
@@ -25,12 +25,12 @@ class ListValue; |
// on the list. |
// Every site has -- among other attributes -- a whitelist of URLs that are |
// required to use it. All sites from all installed content packs together with |
-// their respective whitelists are combined in the ManagedModeURLFilter, which |
-// can tell for a given URL if it is part of the whitelist for any site. |
-// Effectively, ManagedModeURLFilter then acts as a big whitelist which is the |
-// union of the whitelists in all sites in all content packs. See |
+// their respective whitelists are combined in the SupervisedUserURLFilter, |
+// which can tell for a given URL if it is part of the whitelist for any site. |
+// Effectively, SupervisedUserURLFilter then acts as a big whitelist which is |
+// the union of the whitelists in all sites in all content packs. See |
// http://goo.gl/cBCB8 for a diagram. |
-class ManagedModeSiteList { |
+class SupervisedUserSiteList { |
public: |
struct Site { |
Site(const base::string16& name, int category_id); |
@@ -52,13 +52,13 @@ class ManagedModeSiteList { |
std::vector<std::string> hostname_hashes; |
}; |
- ManagedModeSiteList(const std::string& extension_id, |
- const base::FilePath& path); |
- ~ManagedModeSiteList(); |
+ SupervisedUserSiteList(const std::string& extension_id, |
+ const base::FilePath& path); |
+ ~SupervisedUserSiteList(); |
// Creates a copy of the site list. |
// Caller takes ownership of the returned value. |
- ManagedModeSiteList* Clone(); |
+ SupervisedUserSiteList* Clone(); |
// Returns a list of all categories. |
// TODO(bauerb): The list is hardcoded for now, but if we allow custom |
@@ -78,7 +78,7 @@ class ManagedModeSiteList { |
scoped_ptr<base::DictionaryValue> categories_; |
scoped_ptr<base::ListValue> sites_; |
- DISALLOW_COPY_AND_ASSIGN(ManagedModeSiteList); |
+ DISALLOW_COPY_AND_ASSIGN(SupervisedUserSiteList); |
}; |
-#endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_MODE_SITE_LIST_H_ |
+#endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SITE_LIST_H_ |