| 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 <stddef.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <string> | 11 #include <string> |
| 10 #include <vector> | 12 #include <vector> |
| 11 | 13 |
| 12 #include "base/basictypes.h" | |
| 13 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 14 #include "base/containers/scoped_ptr_hash_map.h" | 15 #include "base/containers/scoped_ptr_hash_map.h" |
| 15 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
| 16 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
| 18 #include "base/macros.h" |
| 17 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
| 18 #include "base/observer_list.h" | 20 #include "base/observer_list.h" |
| 19 #include "base/strings/string16.h" | 21 #include "base/strings/string16.h" |
| 20 #include "chrome/browser/profiles/profile_attributes_entry.h" | 22 #include "chrome/browser/profiles/profile_attributes_entry.h" |
| 21 #include "chrome/browser/profiles/profile_attributes_storage.h" | 23 #include "chrome/browser/profiles/profile_attributes_storage.h" |
| 22 #include "chrome/browser/profiles/profile_info_cache_observer.h" | 24 #include "chrome/browser/profiles/profile_info_cache_observer.h" |
| 23 #include "chrome/browser/profiles/profile_info_interface.h" | 25 #include "chrome/browser/profiles/profile_info_interface.h" |
| 24 | 26 |
| 25 namespace gfx { | 27 namespace gfx { |
| 26 class Image; | 28 class Image; |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 avatar_images_downloads_in_progress_; | 286 avatar_images_downloads_in_progress_; |
| 285 | 287 |
| 286 // Determines of the ProfileAvatarDownloader should be created and executed | 288 // Determines of the ProfileAvatarDownloader should be created and executed |
| 287 // or not. Only set to true for tests. | 289 // or not. Only set to true for tests. |
| 288 bool disable_avatar_download_for_testing_; | 290 bool disable_avatar_download_for_testing_; |
| 289 | 291 |
| 290 DISALLOW_COPY_AND_ASSIGN(ProfileInfoCache); | 292 DISALLOW_COPY_AND_ASSIGN(ProfileInfoCache); |
| 291 }; | 293 }; |
| 292 | 294 |
| 293 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ | 295 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ |
| OLD | NEW |