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

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

Issue 10459003: Load user custom wallpaper after browser crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix aura_shell_unittests Created 8 years, 6 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 29 matching lines...) Expand all
40 public content::NotificationObserver { 40 public content::NotificationObserver {
41 public: 41 public:
42 // UserManager implementation: 42 // UserManager implementation:
43 virtual ~UserManagerImpl(); 43 virtual ~UserManagerImpl();
44 44
45 virtual const UserList& GetUsers() const OVERRIDE; 45 virtual const UserList& GetUsers() const OVERRIDE;
46 virtual void UserLoggedIn(const std::string& email) OVERRIDE; 46 virtual void UserLoggedIn(const std::string& email) OVERRIDE;
47 virtual void DemoUserLoggedIn() OVERRIDE; 47 virtual void DemoUserLoggedIn() OVERRIDE;
48 virtual void GuestUserLoggedIn() OVERRIDE; 48 virtual void GuestUserLoggedIn() OVERRIDE;
49 virtual void EphemeralUserLoggedIn(const std::string& email) OVERRIDE; 49 virtual void EphemeralUserLoggedIn(const std::string& email) OVERRIDE;
50 virtual void SetLoggedInUserWallpaper() OVERRIDE;
50 virtual void UserSelected(const std::string& email) OVERRIDE; 51 virtual void UserSelected(const std::string& email) OVERRIDE;
51 virtual void SessionStarted() OVERRIDE; 52 virtual void SessionStarted() OVERRIDE;
52 virtual void RemoveUser(const std::string& email, 53 virtual void RemoveUser(const std::string& email,
53 RemoveUserDelegate* delegate) OVERRIDE; 54 RemoveUserDelegate* delegate) OVERRIDE;
54 virtual void RemoveUserFromList(const std::string& email) OVERRIDE; 55 virtual void RemoveUserFromList(const std::string& email) OVERRIDE;
55 virtual bool IsKnownUser(const std::string& email) const OVERRIDE; 56 virtual bool IsKnownUser(const std::string& email) const OVERRIDE;
56 virtual const User* FindUser(const std::string& email) const OVERRIDE; 57 virtual const User* FindUser(const std::string& email) const OVERRIDE;
57 virtual const User& GetLoggedInUser() const OVERRIDE; 58 virtual const User& GetLoggedInUser() const OVERRIDE;
58 virtual User& GetLoggedInUser() OVERRIDE; 59 virtual User& GetLoggedInUser() OVERRIDE;
59 virtual bool IsDisplayNameUnique( 60 virtual bool IsDisplayNameUnique(
60 const string16& display_name) const OVERRIDE; 61 const string16& display_name) const OVERRIDE;
61 virtual void SaveUserOAuthStatus( 62 virtual void SaveUserOAuthStatus(
62 const std::string& username, 63 const std::string& username,
63 User::OAuthTokenStatus oauth_token_status) OVERRIDE; 64 User::OAuthTokenStatus oauth_token_status) OVERRIDE;
64 virtual void SaveUserDisplayEmail(const std::string& username, 65 virtual void SaveUserDisplayEmail(const std::string& username,
65 const std::string& display_email) OVERRIDE; 66 const std::string& display_email) OVERRIDE;
66 virtual std::string GetUserDisplayEmail( 67 virtual std::string GetUserDisplayEmail(
67 const std::string& username) const OVERRIDE; 68 const std::string& username) const OVERRIDE;
68 virtual int GetLoggedInUserWallpaperIndex() OVERRIDE;
69 virtual void GetLoggedInUserWallpaperProperties(User::WallpaperType* type, 69 virtual void GetLoggedInUserWallpaperProperties(User::WallpaperType* type,
70 int* index) OVERRIDE; 70 int* index) OVERRIDE;
71 virtual void SaveLoggedInUserWallpaperProperties(User::WallpaperType type, 71 virtual void SaveLoggedInUserWallpaperProperties(User::WallpaperType type,
72 int index) OVERRIDE; 72 int index) OVERRIDE;
73 virtual void SaveUserDefaultImageIndex(const std::string& username, 73 virtual void SaveUserDefaultImageIndex(const std::string& username,
74 int image_index) OVERRIDE; 74 int image_index) OVERRIDE;
75 virtual void SaveUserImage(const std::string& username, 75 virtual void SaveUserImage(const std::string& username,
76 const SkBitmap& image) OVERRIDE; 76 const SkBitmap& image) OVERRIDE;
77 virtual void SetLoggedInUserCustomWallpaperLayout( 77 virtual void SetLoggedInUserCustomWallpaperLayout(
78 ash::WallpaperLayout layout) OVERRIDE; 78 ash::WallpaperLayout layout) OVERRIDE;
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 354
355 // Data URL for |downloaded_profile_image_|. 355 // Data URL for |downloaded_profile_image_|.
356 std::string downloaded_profile_image_data_url_; 356 std::string downloaded_profile_image_data_url_;
357 357
358 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); 358 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl);
359 }; 359 };
360 360
361 } // namespace chromeos 361 } // namespace chromeos
362 362
363 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 363 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698