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

Side by Side Diff: chrome/browser/chromeos/login/user_manager_impl.h

Issue 14269004: Add LoginState class to src/chromeos/login (redux) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_USER_MANAGER_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 229
230 // Returns true if there is non-committed user creation transaction. 230 // Returns true if there is non-committed user creation transaction.
231 bool HasFailedLocallyManagedUserCreationTransaction(); 231 bool HasFailedLocallyManagedUserCreationTransaction();
232 232
233 // Attempts to clean up data that could be left from failed user creation. 233 // Attempts to clean up data that could be left from failed user creation.
234 void RollbackLocallyManagedUserCreationTransaction(); 234 void RollbackLocallyManagedUserCreationTransaction();
235 235
236 // Lazily creates default user flow. 236 // Lazily creates default user flow.
237 UserFlow* GetDefaultUserFlow() const; 237 UserFlow* GetDefaultUserFlow() const;
238 238
239 // Update the global LoginState.
240 void UpdateLoginState();
241
239 // Interface to the signed settings store. 242 // Interface to the signed settings store.
240 CrosSettings* cros_settings_; 243 CrosSettings* cros_settings_;
241 244
242 // Interface to device-local account definitions and associated policy. 245 // Interface to device-local account definitions and associated policy.
243 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_; 246 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_;
244 247
245 // True if users have been loaded from prefs already. 248 // True if users have been loaded from prefs already.
246 bool users_loaded_; 249 bool users_loaded_;
247 250
248 // List of all known users. User instances are owned by |this|. Regular users 251 // List of all known users. User instances are owned by |this|. Regular users
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 320
318 // Specific flows by user e-mail. 321 // Specific flows by user e-mail.
319 FlowMap specific_flows_; 322 FlowMap specific_flows_;
320 323
321 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); 324 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl);
322 }; 325 };
323 326
324 } // namespace chromeos 327 } // namespace chromeos
325 328
326 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 329 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_utils_browsertest.cc ('k') | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698