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

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

Issue 675183002: SupervisedUserService: Expose second custodian's name/email (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
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 69a35425749d5ada1e80388724422739bafbe1b8..53c63f4d69c1868b6964a2919faccf9f001af99d 100644
--- a/chrome/browser/supervised_user/supervised_user_service.h
+++ b/chrome/browser/supervised_user/supervised_user_service.h
@@ -125,6 +125,14 @@ class SupervisedUserService : public KeyedService,
// empty.
std::string GetCustodianName() const;
+ // Returns the email address of the second custodian, or the empty string
+ // if there is no second custodian.
+ std::string GetSecondCustodianEmailAddress() const;
+
+ // Returns the name of the second custodian, or the email address if the name
+ // is empty, or the empty string is there is no second custodian.
+ std::string GetSecondCustodianName() const;
+
// Initializes this object. This method does nothing if the profile is not
// supervised.
void Init();
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698