Chromium Code Reviews| Index: components/user_manager/avatar/user_image.h |
| diff --git a/chrome/browser/chromeos/login/users/avatar/user_image.h b/components/user_manager/avatar/user_image.h |
| similarity index 89% |
| rename from chrome/browser/chromeos/login/users/avatar/user_image.h |
| rename to components/user_manager/avatar/user_image.h |
| index 632da0a56d6a07711d101c63525023eca5b3fcb4..5e40fd3b5740d364893428470a9f7ae0cd46573f 100644 |
| --- a/chrome/browser/chromeos/login/users/avatar/user_image.h |
| +++ b/components/user_manager/avatar/user_image.h |
| @@ -2,21 +2,22 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_H_ |
| -#define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_H_ |
| +#ifndef COMPONENTS_USER_MANAGER_AVATAR_USER_IMAGE_H_ |
| +#define COMPONENTS_USER_MANAGER_AVATAR_USER_IMAGE_H_ |
| #include <string> |
| #include <vector> |
| +#include "components/user_manager/user_manager_export.h" |
| #include "ui/gfx/image/image_skia.h" |
| #include "url/gurl.h" |
|
blundell
2014/07/09 14:22:22
you should also have a url dependency.
Nikita (slow)
2014/07/09 14:44:37
Done.
|
| -namespace chromeos { |
| +namespace user_manager { |
| // Wrapper class storing a still image and it's raw representation. Could be |
| // used for storing profile images (including animated profile images) and user |
| // wallpapers. |
| -class UserImage { |
| +class USER_MANAGER_EXPORT UserImage { |
| public: |
| // TODO(ivankr): replace with RefCountedMemory to prevent copying. |
| typedef std::vector<unsigned char> RawImage; |
| @@ -78,6 +79,6 @@ class UserImage { |
| bool is_safe_format_; |
| }; |
| -} // namespace chromeos |
| +} // namespace user_manager |
| -#endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_H_ |
| +#endif // COMPONENTS_USER_MANAGER_AVATAR_USER_IMAGE_H_ |