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

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

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/user_image_manager_impl.h
diff --git a/chrome/browser/chromeos/login/user_image_manager_impl.h b/chrome/browser/chromeos/login/user_image_manager_impl.h
index 448be5898a0ccee8c474add6f398cef8e8a03b14..e6fb5340b2e88db0e668f2af7172a01856b4123b 100644
--- a/chrome/browser/chromeos/login/user_image_manager_impl.h
+++ b/chrome/browser/chromeos/login/user_image_manager_impl.h
@@ -21,6 +21,10 @@
class ProfileDownloader;
class UserImage;
+namespace base {
+class FilePath;
+}
+
namespace chromeos {
class UserImageManagerImpl : public UserImageManager,
@@ -39,7 +43,7 @@ class UserImageManagerImpl : public UserImageManager,
virtual void SaveUserImage(const std::string& username,
const UserImage& user_image) OVERRIDE;
virtual void SaveUserImageFromFile(const std::string& username,
- const FilePath& path) OVERRIDE;
+ const base::FilePath& path) OVERRIDE;
virtual void SaveUserImageFromProfileImage(
const std::string& username) OVERRIDE;
virtual void DeleteUserImage(const std::string& username) OVERRIDE;
@@ -63,7 +67,7 @@ class UserImageManagerImpl : public UserImageManager,
ProfileDownloaderDelegate::FailureReason reason) OVERRIDE;
// Returns image filepath for the given user.
- FilePath GetImagePathForUser(const std::string& username);
+ base::FilePath GetImagePathForUser(const std::string& username);
// Sets one of the default images for the specified user and saves this
// setting in local state.
@@ -90,7 +94,7 @@ class UserImageManagerImpl : public UserImageManager,
// Local State on UI thread.
void SaveImageToFile(const std::string& username,
const UserImage& user_image,
- const FilePath& image_path,
+ const base::FilePath& image_path,
int image_index,
const GURL& image_url);
@@ -105,7 +109,7 @@ class UserImageManagerImpl : public UserImageManager,
// Saves |image| to the specified |image_path|. Runs on FILE thread.
bool SaveBitmapToFile(const UserImage& user_image,
- const FilePath& image_path);
+ const base::FilePath& image_path);
// Initializes |downloaded_profile_image_| with the picture of the logged-in
// user.
« no previous file with comments | « chrome/browser/chromeos/login/user_image_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698