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

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

Issue 23532034: Postpone loading about:flags ui until the certificates have been loaded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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 #include <vector> 10 #include <vector>
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // Notifies that user has logged in. 220 // Notifies that user has logged in.
221 // Sends NOTIFICATION_LOGIN_USER_CHANGED notification. 221 // Sends NOTIFICATION_LOGIN_USER_CHANGED notification.
222 void NotifyOnLogin(); 222 void NotifyOnLogin();
223 223
224 // Reads user's oauth token status from local state preferences. 224 // Reads user's oauth token status from local state preferences.
225 User::OAuthTokenStatus LoadUserOAuthStatus(const std::string& username) const; 225 User::OAuthTokenStatus LoadUserOAuthStatus(const std::string& username) const;
226 226
227 void SetCurrentUserIsOwner(bool is_current_user_owner); 227 void SetCurrentUserIsOwner(bool is_current_user_owner);
228 228
229 // Updates current user ownership on UI thread. 229 // Updates current user ownership on UI thread.
230 void UpdateOwnership(DeviceSettingsService::OwnershipStatus status, 230 void UpdateOwnership();
231 bool is_owner);
232
233 // Triggers an asynchronous ownership check.
234 void CheckOwnership();
235 231
236 // Removes data stored or cached outside the user's cryptohome (wallpaper, 232 // Removes data stored or cached outside the user's cryptohome (wallpaper,
237 // avatar, OAuth token status, display name, display email). 233 // avatar, OAuth token status, display name, display email).
238 void RemoveNonCryptohomeData(const std::string& email); 234 void RemoveNonCryptohomeData(const std::string& email);
239 235
240 // Removes a regular or locally managed user from the user list. 236 // Removes a regular or locally managed user from the user list.
241 // Returns the user if found or NULL otherwise. 237 // Returns the user if found or NULL otherwise.
242 // Also removes the user from the persistent user list. 238 // Also removes the user from the persistent user list.
243 User* RemoveRegularOrLocallyManagedUserFromList(const std::string& username); 239 User* RemoveRegularOrLocallyManagedUserFromList(const std::string& username);
244 240
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 410
415 // Time at which this object was created. 411 // Time at which this object was created.
416 base::TimeTicks manager_creation_time_; 412 base::TimeTicks manager_creation_time_;
417 413
418 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); 414 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl);
419 }; 415 };
420 416
421 } // namespace chromeos 417 } // namespace chromeos
422 418
423 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 419 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/parallel_authenticator.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