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

Unified Diff: components/user_manager/user_manager_base.h

Issue 720723002: Creating supervised users restricted for regular users if they are supervised. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unicornUserTypePublic
Patch Set: Rebase. Created 6 years, 1 month 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 | « components/user_manager/user_manager.h ('k') | components/user_manager/user_manager_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_manager/user_manager_base.h
diff --git a/components/user_manager/user_manager_base.h b/components/user_manager/user_manager_base.h
index 7cf9ecc6b4e688e76b47983090a728a521fac8a4..58d64716c1ad5ee273973e5e2ca9605e8f94c6fc 100644
--- a/components/user_manager/user_manager_base.h
+++ b/components/user_manager/user_manager_base.h
@@ -17,6 +17,7 @@
#include "components/user_manager/user.h"
#include "components/user_manager/user_manager.h"
#include "components/user_manager/user_manager_export.h"
+#include "components/user_manager/user_type.h"
class PrefService;
class PrefRegistrySimple;
@@ -78,6 +79,8 @@ class USER_MANAGER_EXPORT UserManagerBase : public UserManager {
const std::string& display_email) override;
virtual std::string GetUserDisplayEmail(
const std::string& user_id) const override;
+ virtual void SaveUserType(const std::string& user_id,
+ const UserType& user_type) override;
virtual void UpdateUserAccountData(
const std::string& user_id,
const UserAccountData& account_data) override;
« no previous file with comments | « components/user_manager/user_manager.h ('k') | components/user_manager/user_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698