Chromium Code Reviews| 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..860b2d316c1902b078055f5e11a83cfa1c735ab6 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,10 @@ class UserImage { |
| bool is_safe_format() const { return is_safe_format_; } |
| void MarkAsSafe(); |
| + // If image was loaded from local file, file path is stored here. |
|
Daniel Erat
2014/04/14 15:26:15
move this comment down to the member definition in
Alexander Alekseev
2014/04/15 01:57:16
Done.
|
| + 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 +73,7 @@ class UserImage { |
| bool has_animated_image_; |
| RawImage animated_image_; |
| GURL url_; |
| + std::string file_path_; |
| bool is_safe_format_; |
| }; |