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

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

Issue 9839098: Fix wallpaper change to a random one when user first click "set wallpaper". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos crash Created 8 years, 9 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual User& GetLoggedInUser() OVERRIDE; 56 virtual User& GetLoggedInUser() OVERRIDE;
57 virtual bool IsDisplayNameUnique( 57 virtual bool IsDisplayNameUnique(
58 const std::string& display_name) const OVERRIDE; 58 const std::string& display_name) const OVERRIDE;
59 virtual void SaveUserOAuthStatus( 59 virtual void SaveUserOAuthStatus(
60 const std::string& username, 60 const std::string& username,
61 User::OAuthTokenStatus oauth_token_status) OVERRIDE; 61 User::OAuthTokenStatus oauth_token_status) OVERRIDE;
62 virtual void SaveUserDisplayEmail(const std::string& username, 62 virtual void SaveUserDisplayEmail(const std::string& username,
63 const std::string& display_email) OVERRIDE; 63 const std::string& display_email) OVERRIDE;
64 virtual std::string GetUserDisplayEmail( 64 virtual std::string GetUserDisplayEmail(
65 const std::string& username) const OVERRIDE; 65 const std::string& username) const OVERRIDE;
66 virtual int GetUserWallpaper(const std::string& username) OVERRIDE; 66 virtual int GetUserWallpaperIndex() OVERRIDE;
67 virtual void SaveWallpaperDefaultIndex(const std::string& username, 67 virtual void SaveUserWallpaperIndex(int wallpaper_index) OVERRIDE;
68 int wallpaper_index) OVERRIDE;
69 virtual void SaveUserDefaultImageIndex(const std::string& username, 68 virtual void SaveUserDefaultImageIndex(const std::string& username,
70 int image_index) OVERRIDE; 69 int image_index) OVERRIDE;
71 virtual void SaveUserImage(const std::string& username, 70 virtual void SaveUserImage(const std::string& username,
72 const SkBitmap& image) OVERRIDE; 71 const SkBitmap& image) OVERRIDE;
73 virtual void SaveUserImageFromFile(const std::string& username, 72 virtual void SaveUserImageFromFile(const std::string& username,
74 const FilePath& path) OVERRIDE; 73 const FilePath& path) OVERRIDE;
75 virtual void SaveUserImageFromProfileImage( 74 virtual void SaveUserImageFromProfileImage(
76 const std::string& username) OVERRIDE; 75 const std::string& username) OVERRIDE;
77 virtual void DownloadProfileImage(const std::string& reason) OVERRIDE; 76 virtual void DownloadProfileImage(const std::string& reason) OVERRIDE;
78 virtual bool IsCurrentUserOwner() const OVERRIDE; 77 virtual bool IsCurrentUserOwner() const OVERRIDE;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 265
267 // Data URL for |downloaded_profile_image_|. 266 // Data URL for |downloaded_profile_image_|.
268 std::string downloaded_profile_image_data_url_; 267 std::string downloaded_profile_image_data_url_;
269 268
270 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); 269 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl);
271 }; 270 };
272 271
273 } // namespace chromeos 272 } // namespace chromeos
274 273
275 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 274 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698