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

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

Issue 664313004: SupervisedUserService cleanup: remove some dead code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_service.h
diff --git a/chrome/browser/supervised_user/supervised_user_service.h b/chrome/browser/supervised_user/supervised_user_service.h
index 79eb8bbbaa6c854bf2dbb3598718b2e453f1298a..3ae0d9e15b2b3dc69ff9525d7de62d2c665e525f 100644
--- a/chrome/browser/supervised_user/supervised_user_service.h
+++ b/chrome/browser/supervised_user/supervised_user_service.h
@@ -71,12 +71,6 @@ class SupervisedUserService : public KeyedService,
typedef base::Callback<void(const GoogleServiceAuthError&)> AuthErrorCallback;
typedef base::Callback<void(bool)> SuccessCallback;
- enum ManualBehavior {
- MANUAL_NONE = 0,
- MANUAL_ALLOW,
- MANUAL_BLOCK
- };
-
class Delegate {
public:
virtual ~Delegate() {}
@@ -131,20 +125,6 @@ class SupervisedUserService : public KeyedService,
// empty.
std::string GetCustodianName() const;
- // These methods allow querying and modifying the manual filtering behavior.
- // The manual behavior is set by the user and overrides all other settings
- // (whitelists or the default behavior).
-
- // Returns the manual behavior for the given host.
- ManualBehavior GetManualBehaviorForHost(const std::string& hostname);
-
- // Returns the manual behavior for the given URL.
- ManualBehavior GetManualBehaviorForURL(const GURL& url);
-
- // Returns all URLS on the given host that have exceptions.
- void GetManualExceptionsForHost(const std::string& host,
- std::vector<GURL>* urls);
-
// Initializes this object. This method does nothing if the profile is not
// supervised.
void Init();

Powered by Google App Engine
This is Rietveld 408576698