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 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <string> | 9 #include <string> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
15 #include "base/file_path.h" | 14 #include "base/file_path.h" |
16 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
17 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 // to be mutable. | 163 // to be mutable. |
165 mutable std::map<std::string, gfx::Image*> gaia_pictures_; | 164 mutable std::map<std::string, gfx::Image*> gaia_pictures_; |
166 // Marks a gaia profile picture as loading. This prevents a picture from | 165 // Marks a gaia profile picture as loading. This prevents a picture from |
167 // loading multiple times. | 166 // loading multiple times. |
168 mutable std::map<std::string, bool> gaia_pictures_loading_; | 167 mutable std::map<std::string, bool> gaia_pictures_loading_; |
169 | 168 |
170 DISALLOW_COPY_AND_ASSIGN(ProfileInfoCache); | 169 DISALLOW_COPY_AND_ASSIGN(ProfileInfoCache); |
171 }; | 170 }; |
172 | 171 |
173 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ | 172 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ |
OLD | NEW |