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

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: . 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 // Notifies that user has logged in. 219 // Notifies that user has logged in.
220 // Sends NOTIFICATION_LOGIN_USER_CHANGED notification. 220 // Sends NOTIFICATION_LOGIN_USER_CHANGED notification.
221 void NotifyOnLogin(); 221 void NotifyOnLogin();
222 222
223 // Reads user's oauth token status from local state preferences. 223 // Reads user's oauth token status from local state preferences.
224 User::OAuthTokenStatus LoadUserOAuthStatus(const std::string& username) const; 224 User::OAuthTokenStatus LoadUserOAuthStatus(const std::string& username) const;
225 225
226 void SetCurrentUserIsOwner(bool is_current_user_owner); 226 void SetCurrentUserIsOwner(bool is_current_user_owner);
227 227
228 // Updates current user ownership on UI thread. 228 // Updates current user ownership on UI thread.
229 void UpdateOwnership(DeviceSettingsService::OwnershipStatus status, 229 void UpdateOwnership();
230 bool is_owner);
231
232 // Triggers an asynchronous ownership check.
233 void CheckOwnership();
234 230
235 // Removes data stored or cached outside the user's cryptohome (wallpaper, 231 // Removes data stored or cached outside the user's cryptohome (wallpaper,
236 // avatar, OAuth token status, display name, display email). 232 // avatar, OAuth token status, display name, display email).
237 void RemoveNonCryptohomeData(const std::string& email); 233 void RemoveNonCryptohomeData(const std::string& email);
238 234
239 // Removes a regular or locally managed user from the user list. 235 // Removes a regular or locally managed user from the user list.
240 // Returns the user if found or NULL otherwise. 236 // Returns the user if found or NULL otherwise.
241 // Also removes the user from the persistent user list. 237 // Also removes the user from the persistent user list.
242 User* RemoveRegularOrLocallyManagedUserFromList(const std::string& username); 238 User* RemoveRegularOrLocallyManagedUserFromList(const std::string& username);
243 239
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 409
414 // Time at which this object was created. 410 // Time at which this object was created.
415 base::TimeTicks manager_creation_time_; 411 base::TimeTicks manager_creation_time_;
416 412
417 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); 413 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl);
418 }; 414 };
419 415
420 } // namespace chromeos 416 } // namespace chromeos
421 417
422 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 418 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698