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

Side by Side Diff: chrome/browser/chromeos/login/users/chrome_user_manager_impl.h

Issue 1266563002: Added affiliation IDs for the new affiliation determination. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 // policy::DeviceLocalAccountPolicyService::Observer implementation. 109 // policy::DeviceLocalAccountPolicyService::Observer implementation.
110 void OnPolicyUpdated(const std::string& user_id) override; 110 void OnPolicyUpdated(const std::string& user_id) override;
111 void OnDeviceLocalAccountsChanged() override; 111 void OnDeviceLocalAccountsChanged() override;
112 112
113 void StopPolicyObserverForTesting(); 113 void StopPolicyObserverForTesting();
114 114
115 // UserManagerBase implementation: 115 // UserManagerBase implementation:
116 bool AreEphemeralUsersEnabled() const override; 116 bool AreEphemeralUsersEnabled() const override;
117 117
118 // ChromeUserManager implementation:
119 void SetUserAffiliation(
120 const std::string& user_email,
121 const AffiliationIDSet& user_affiliation_ids) override;
Mattias Nissler (ping if slow) 2015/07/30 17:04:17 nit: #include affiliation.h
peletskyi 2015/07/30 17:13:34 Done.
122
118 protected: 123 protected:
119 const std::string& GetApplicationLocale() const override; 124 const std::string& GetApplicationLocale() const override;
120 PrefService* GetLocalState() const override; 125 PrefService* GetLocalState() const override;
121 void HandleUserOAuthTokenStatusChange( 126 void HandleUserOAuthTokenStatusChange(
122 const std::string& user_id, 127 const std::string& user_id,
123 user_manager::User::OAuthTokenStatus status) const override; 128 user_manager::User::OAuthTokenStatus status) const override;
124 bool IsEnterpriseManaged() const override; 129 bool IsEnterpriseManaged() const override;
125 void LoadPublicAccounts(std::set<std::string>* users_set) override; 130 void LoadPublicAccounts(std::set<std::string>* users_set) override;
126 void NotifyOnLogin() override; 131 void NotifyOnLogin() override;
127 void NotifyUserAddedToSession(const user_manager::User* added_user, 132 void NotifyUserAddedToSession(const user_manager::User* added_user,
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 scoped_ptr<BootstrapManager> bootstrap_manager_; 251 scoped_ptr<BootstrapManager> bootstrap_manager_;
247 252
248 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; 253 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_;
249 254
250 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); 255 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl);
251 }; 256 };
252 257
253 } // namespace chromeos 258 } // namespace chromeos
254 259
255 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ 260 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698