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

Side by Side Diff: chrome/browser/chromeos/login/users/chrome_user_manager_impl.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: Unused headers removed 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual SupervisedUserManager* GetSupervisedUserManager() override; 70 virtual SupervisedUserManager* GetSupervisedUserManager() override;
71 virtual UserFlow* GetCurrentUserFlow() const override; 71 virtual UserFlow* GetCurrentUserFlow() const override;
72 virtual UserFlow* GetUserFlow(const std::string& user_id) const override; 72 virtual UserFlow* GetUserFlow(const std::string& user_id) const override;
73 virtual void SetUserFlow(const std::string& user_id, UserFlow* flow) override; 73 virtual void SetUserFlow(const std::string& user_id, UserFlow* flow) override;
74 virtual void ResetUserFlow(const std::string& user_id) override; 74 virtual void ResetUserFlow(const std::string& user_id) override;
75 75
76 // UserManager implementation: 76 // UserManager implementation:
77 virtual void Shutdown() override; 77 virtual void Shutdown() override;
78 virtual user_manager::UserList GetUsersAllowedForMultiProfile() 78 virtual user_manager::UserList GetUsersAllowedForMultiProfile()
79 const override; 79 const override;
80 virtual user_manager::UserList GetUsersAllowedForSupervisedUsersCreation()
81 const override;
80 virtual user_manager::UserList GetUnlockUsers() const override; 82 virtual user_manager::UserList GetUnlockUsers() const override;
81 virtual void SessionStarted() override; 83 virtual void SessionStarted() override;
82 virtual void SaveUserOAuthStatus( 84 virtual void SaveUserOAuthStatus(
83 const std::string& user_id, 85 const std::string& user_id,
84 user_manager::User::OAuthTokenStatus oauth_token_status) override; 86 user_manager::User::OAuthTokenStatus oauth_token_status) override;
85 virtual void SaveUserDisplayName(const std::string& user_id, 87 virtual void SaveUserDisplayName(const std::string& user_id,
86 const base::string16& display_name) override; 88 const base::string16& display_name) override;
87 virtual bool CanCurrentUserLock() const override; 89 virtual bool CanCurrentUserLock() const override;
88 virtual bool IsUserNonCryptohomeDataEphemeral( 90 virtual bool IsUserNonCryptohomeDataEphemeral(
89 const std::string& user_id) const override; 91 const std::string& user_id) const override;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 wallpaper_policy_observer_; 237 wallpaper_policy_observer_;
236 238
237 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; 239 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_;
238 240
239 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); 241 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl);
240 }; 242 };
241 243
242 } // namespace chromeos 244 } // namespace chromeos
243 245
244 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ 246 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698