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

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

Issue 787803002: Cleanup: remove SupervisedUserService::IsChildAccount. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 6ada9cf6aeff8ccf75689e450478626c250660b5..94cc2d51f58284973f6ccc572d4303b62f9f71e9 100644
--- a/chrome/browser/supervised_user/supervised_user_service.h
+++ b/chrome/browser/supervised_user/supervised_user_service.h
@@ -83,7 +83,7 @@ class SupervisedUserService : public KeyedService,
// Returns true to indicate that the delegate handled the (de)activation, or
// false to indicate that the SupervisedUserService itself should handle it.
virtual bool SetActive(bool active) = 0;
- // Returns whether the current profile is linked to a child account.
+ // TODO(treib): Unused, remove.
virtual bool IsChildAccount() const;
Marc Treib 2014/12/09 09:27:28 Still here so I don't break the Clank build.
// Returns the path to a blacklist file to load, or an empty path to
// indicate "none".
@@ -130,9 +130,6 @@ class SupervisedUserService : public KeyedService,
// a dictionary which currently has the timestamp of the request in it.
void AddAccessRequest(const GURL& url, const SuccessCallback& callback);
- // Returns whether the profile is linked to a child account.
- bool IsChildAccount() const;
-
// Returns the email address of the custodian.
std::string GetCustodianEmailAddress() const;

Powered by Google App Engine
This is Rietveld 408576698