Index: chrome/browser/chromeos/login/user_image.h |
diff --git a/chrome/browser/chromeos/login/user_image.h b/chrome/browser/chromeos/login/user_image.h |
index b1e39336a38f1aa2222a571486c619714f5918d3..a228c90961088505a76ed9f2617a28c7b64c25f9 100644 |
--- a/chrome/browser/chromeos/login/user_image.h |
+++ b/chrome/browser/chromeos/login/user_image.h |
@@ -5,6 +5,7 @@ |
#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_H_ |
#define CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_H_ |
+#include <string> |
#include <vector> |
#include "ui/gfx/image/image_skia.h" |
@@ -61,6 +62,9 @@ class UserImage { |
bool is_safe_format() const { return is_safe_format_; } |
void MarkAsSafe(); |
+ const std::string& file_path() const { return file_path_; } |
+ void set_file_path(const std::string& file_path) { file_path_ = file_path; } |
+ |
private: |
gfx::ImageSkia image_; |
bool has_raw_image_; |
@@ -68,6 +72,9 @@ class UserImage { |
bool has_animated_image_; |
RawImage animated_image_; |
GURL url_; |
+ |
+ // If image was loaded from the local file, file path is stored here. |
+ std::string file_path_; |
bool is_safe_format_; |
}; |