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

Unified Diff: chrome/browser/chromeos/login/user_manager.h

Issue 4332002: Delete user image when user is removed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/chromeos
Patch Set: code review Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/user_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_manager.h
diff --git a/chrome/browser/chromeos/login/user_manager.h b/chrome/browser/chromeos/login/user_manager.h
index 8168eaa9fca3d663fddc9089ba8c1e739f287b07..01766d0fc58c286ecbd84f77df4e619fd82ca0a7 100644
--- a/chrome/browser/chromeos/login/user_manager.h
+++ b/chrome/browser/chromeos/login/user_manager.h
@@ -17,6 +17,7 @@
#include "chrome/common/notification_registrar.h"
#include "third_party/skia/include/core/SkBitmap.h"
+class FilePath;
class PrefService;
namespace chromeos {
@@ -83,7 +84,7 @@ class UserManager : public UserImageLoader::Delegate,
// Saves image to file and saves image path in local state preferences.
void SaveUserImage(const std::string& username,
- const SkBitmap& image);
+ const SkBitmap& image);
// Sets one of the default images to the specified user and saves this
// setting in local state.
@@ -110,6 +111,9 @@ class UserManager : public UserImageLoader::Delegate,
UserManager();
virtual ~UserManager();
+ // Returns image filepath for the given user.
+ FilePath GetImagePathForUser(const std::string& username);
+
private:
// Notifies on new user session.
void NotifyOnLogin();
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/user_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698