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

Unified Diff: chrome/browser/managed_mode/managed_user_service.h

Issue 16950018: Collect the custodian's full name when a supervised user is created. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 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/managed_mode/managed_user_service.h
===================================================================
--- chrome/browser/managed_mode/managed_user_service.h (revision 207746)
+++ chrome/browser/managed_mode/managed_user_service.h (working copy)
@@ -93,6 +93,10 @@
// Returns the email address of the custodian.
std::string GetCustodianEmailAddress() const;
+ // Returns the name of the custodian, or the email address if the name is
+ // 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).
@@ -184,6 +188,8 @@
DISALLOW_COPY_AND_ASSIGN(URLFilterContext);
};
+ void OnCustodianProfileDownloaded(const string16& full_name);
+
void OnManagedUserRegistered(const ProfileManager::CreateCallback& callback,
Profile* custodian_profile,
const GoogleServiceAuthError& auth_error,

Powered by Google App Engine
This is Rietveld 408576698