OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_MANAGER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_MANAGER_IMPL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_MANAGER_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_MANAGER_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
18 #include "base/timer/timer.h" | 18 #include "base/timer/timer.h" |
19 #include "base/values.h" | 19 #include "base/values.h" |
20 #include "chrome/browser/chromeos/login/user.h" | 20 #include "chrome/browser/chromeos/login/users/avatar/user_image_loader.h" |
21 #include "chrome/browser/chromeos/login/user_image_loader.h" | 21 #include "chrome/browser/chromeos/login/users/avatar/user_image_manager.h" |
22 #include "chrome/browser/chromeos/login/user_image_manager.h" | 22 #include "chrome/browser/chromeos/login/users/user.h" |
23 #include "chrome/browser/profiles/profile_downloader_delegate.h" | 23 #include "chrome/browser/profiles/profile_downloader_delegate.h" |
24 #include "ui/gfx/image/image_skia.h" | 24 #include "ui/gfx/image/image_skia.h" |
25 | 25 |
26 class ProfileDownloader; | 26 class ProfileDownloader; |
27 class UserImage; | 27 class UserImage; |
28 | 28 |
29 namespace base { | 29 namespace base { |
30 class FilePath; | 30 class FilePath; |
31 class SequencedTaskRunner; | 31 class SequencedTaskRunner; |
32 } | 32 } |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 bool has_managed_image_; | 213 bool has_managed_image_; |
214 bool user_needs_migration_; | 214 bool user_needs_migration_; |
215 | 215 |
216 base::WeakPtrFactory<UserImageManagerImpl> weak_factory_; | 216 base::WeakPtrFactory<UserImageManagerImpl> weak_factory_; |
217 | 217 |
218 DISALLOW_COPY_AND_ASSIGN(UserImageManagerImpl); | 218 DISALLOW_COPY_AND_ASSIGN(UserImageManagerImpl); |
219 }; | 219 }; |
220 | 220 |
221 } // namespace chromeos | 221 } // namespace chromeos |
222 | 222 |
223 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_MANAGER_IMPL_H_ | 223 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_MANAGER_IMPL_H_ |
OLD | NEW |