| 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 |
| 11 #include <map> | 11 #include <map> |
| 12 #include <memory> | 12 #include <memory> |
| 13 #include <set> | 13 #include <set> |
| 14 #include <string> | 14 #include <string> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
| 18 #include "base/gtest_prod_util.h" | 18 #include "base/gtest_prod_util.h" |
| 19 #include "base/macros.h" | 19 #include "base/macros.h" |
| 20 #include "base/memory/linked_ptr.h" | 20 #include "base/memory/linked_ptr.h" |
| 21 #include "base/memory/ref_counted.h" | 21 #include "base/memory/ref_counted.h" |
| 22 #include "base/memory/ref_counted_memory.h" | 22 #include "base/memory/ref_counted_memory.h" |
| 23 #include "base/memory/weak_ptr.h" | 23 #include "base/memory/weak_ptr.h" |
| 24 #include "base/scoped_observer.h" | 24 #include "base/scoped_observer.h" |
| 25 #include "base/task/cancelable_task_tracker.h" | 25 #include "base/task/cancelable_task_tracker.h" |
| 26 #include "components/history/core/browser/history_service_observer.h" | 26 #include "components/history/core/browser/history_service_observer.h" |
| 27 #include "components/history/core/browser/history_types.h" | 27 #include "components/history/core/browser/history_types.h" |
| 28 #include "components/sessions/core/session_id.h" | 28 #include "components/sessions/core/session_id.h" |
| 29 #include "sync/api/sync_change.h" | 29 #include "components/sync/api/sync_change.h" |
| 30 #include "sync/api/sync_error_factory.h" | 30 #include "components/sync/api/sync_error_factory.h" |
| 31 #include "sync/api/syncable_service.h" | 31 #include "components/sync/api/syncable_service.h" |
| 32 #include "url/gurl.h" | 32 #include "url/gurl.h" |
| 33 | 33 |
| 34 namespace chrome { | 34 namespace chrome { |
| 35 struct FaviconRawBitmapResult; | 35 struct FaviconRawBitmapResult; |
| 36 } | 36 } |
| 37 | 37 |
| 38 namespace favicon { | 38 namespace favicon { |
| 39 class FaviconService; | 39 class FaviconService; |
| 40 } | 40 } |
| 41 | 41 |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 browser_sync |
| 254 | 254 |
| 255 #endif // COMPONENTS_SYNC_SESSIONS_FAVICON_CACHE_H_ | 255 #endif // COMPONENTS_SYNC_SESSIONS_FAVICON_CACHE_H_ |
| OLD | NEW |