| Index: components/user_manager/user.h
|
| diff --git a/components/user_manager/user.h b/components/user_manager/user.h
|
| index 8f0243e92c9cbb74ed88a588bea285e26c46e02d..c48fd6ebb836252c3a6acc9ce95b28714fd1ef0c 100644
|
| --- a/components/user_manager/user.h
|
| +++ b/components/user_manager/user.h
|
| @@ -138,6 +138,11 @@ class USER_MANAGER_EXPORT User : public UserInfo {
|
| scoped_refptr<base::RefCountedBytes> image_bytes() const {
|
| return user_image_->image_bytes();
|
| }
|
| + // Returns image format of the bytes representation of static user image
|
| + // for WebUI.
|
| + UserImage::ImageFormat image_format() const {
|
| + return user_image_->image_format();
|
| + }
|
|
|
| // Whether |user_image_| contains data in format that is considered safe to
|
| // decode in sensitive environment (on Login screen).
|
|
|