| 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 380705d3ee640a008b2c20d69ec28508f20f7166..6ada9cf6aeff8ccf75689e450478626c250660b5 100644
|
| --- a/chrome/browser/supervised_user/supervised_user_service.h
|
| +++ b/chrome/browser/supervised_user/supervised_user_service.h
|
| @@ -83,6 +83,8 @@ 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.
|
| + virtual bool IsChildAccount() const;
|
| // Returns the path to a blacklist file to load, or an empty path to
|
| // indicate "none".
|
| virtual base::FilePath GetBlacklistPath() const;
|
| @@ -128,6 +130,9 @@ 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;
|
|
|
|
|