OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PROFILES_PROFILE_INFO_CACHE_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
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/containers/scoped_ptr_hash_map.h" | 14 #include "base/containers/scoped_ptr_hash_map.h" |
15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/gtest_prod_util.h" |
16 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
17 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
18 #include "base/strings/string16.h" | 19 #include "base/strings/string16.h" |
19 #include "chrome/browser/profiles/profile_attributes_entry.h" | 20 #include "chrome/browser/profiles/profile_attributes_entry.h" |
20 #include "chrome/browser/profiles/profile_attributes_storage.h" | 21 #include "chrome/browser/profiles/profile_attributes_storage.h" |
21 #include "chrome/browser/profiles/profile_info_cache_observer.h" | 22 #include "chrome/browser/profiles/profile_info_cache_observer.h" |
22 #include "chrome/browser/profiles/profile_info_interface.h" | 23 #include "chrome/browser/profiles/profile_info_interface.h" |
23 | 24 |
24 namespace gfx { | 25 namespace gfx { |
25 class Image; | 26 class Image; |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 avatar_images_downloads_in_progress_; | 268 avatar_images_downloads_in_progress_; |
268 | 269 |
269 // Determines of the ProfileAvatarDownloader should be created and executed | 270 // Determines of the ProfileAvatarDownloader should be created and executed |
270 // or not. Only set to true for tests. | 271 // or not. Only set to true for tests. |
271 bool disable_avatar_download_for_testing_; | 272 bool disable_avatar_download_for_testing_; |
272 | 273 |
273 DISALLOW_COPY_AND_ASSIGN(ProfileInfoCache); | 274 DISALLOW_COPY_AND_ASSIGN(ProfileInfoCache); |
274 }; | 275 }; |
275 | 276 |
276 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ | 277 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ |
OLD | NEW |