OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_SYNC_SESSIONS_FAVICON_CACHE_H_ | 5 #ifndef COMPONENTS_SYNC_SESSIONS_FAVICON_CACHE_H_ |
6 #define COMPONENTS_SYNC_SESSIONS_FAVICON_CACHE_H_ | 6 #define COMPONENTS_SYNC_SESSIONS_FAVICON_CACHE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 } | 36 } |
37 | 37 |
38 namespace favicon { | 38 namespace favicon { |
39 class FaviconService; | 39 class FaviconService; |
40 } | 40 } |
41 | 41 |
42 namespace history { | 42 namespace history { |
43 class HistoryService; | 43 class HistoryService; |
44 } | 44 } |
45 | 45 |
46 namespace browser_sync { | 46 namespace sync_sessions { |
47 | 47 |
48 enum IconSize { | 48 enum IconSize { |
49 SIZE_INVALID, | 49 SIZE_INVALID, |
50 SIZE_16, | 50 SIZE_16, |
51 SIZE_32, | 51 SIZE_32, |
52 SIZE_64, | 52 SIZE_64, |
53 NUM_SIZES | 53 NUM_SIZES |
54 }; | 54 }; |
55 | 55 |
56 struct SyncedFaviconInfo; | 56 struct SyncedFaviconInfo; |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 | 243 |
244 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> | 244 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> |
245 history_service_observer_; | 245 history_service_observer_; |
246 | 246 |
247 // Weak pointer factory for favicon loads. | 247 // Weak pointer factory for favicon loads. |
248 base::WeakPtrFactory<FaviconCache> weak_ptr_factory_; | 248 base::WeakPtrFactory<FaviconCache> weak_ptr_factory_; |
249 | 249 |
250 DISALLOW_COPY_AND_ASSIGN(FaviconCache); | 250 DISALLOW_COPY_AND_ASSIGN(FaviconCache); |
251 }; | 251 }; |
252 | 252 |
253 } // namespace browser_sync | 253 } // namespace sync_sessions |
254 | 254 |
255 #endif // COMPONENTS_SYNC_SESSIONS_FAVICON_CACHE_H_ | 255 #endif // COMPONENTS_SYNC_SESSIONS_FAVICON_CACHE_H_ |
OLD | NEW |