| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_DRIVER_FAVICON_CACHE_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_FAVICON_CACHE_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_FAVICON_CACHE_H_ | 6 #define COMPONENTS_SYNC_DRIVER_FAVICON_CACHE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/ref_counted_memory.h" | 15 #include "base/memory/ref_counted_memory.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "base/scoped_observer.h" | 18 #include "base/scoped_observer.h" |
| 19 #include "base/task/cancelable_task_tracker.h" | 19 #include "base/task/cancelable_task_tracker.h" |
| 20 #include "components/history/core/browser/history_service_observer.h" | 20 #include "components/history/core/browser/history_service_observer.h" |
| 21 #include "components/history/core/browser/history_types.h" | 21 #include "components/history/core/browser/history_types.h" |
| 22 #include "components/sessions/session_id.h" | 22 #include "components/sessions/core/session_id.h" |
| 23 #include "sync/api/sync_change.h" | 23 #include "sync/api/sync_change.h" |
| 24 #include "sync/api/sync_error_factory.h" | 24 #include "sync/api/sync_error_factory.h" |
| 25 #include "sync/api/syncable_service.h" | 25 #include "sync/api/syncable_service.h" |
| 26 #include "url/gurl.h" | 26 #include "url/gurl.h" |
| 27 | 27 |
| 28 namespace chrome { | 28 namespace chrome { |
| 29 struct FaviconRawBitmapResult; | 29 struct FaviconRawBitmapResult; |
| 30 } | 30 } |
| 31 | 31 |
| 32 namespace favicon { | 32 namespace favicon { |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 | 240 |
| 241 // Weak pointer factory for favicon loads. | 241 // Weak pointer factory for favicon loads. |
| 242 base::WeakPtrFactory<FaviconCache> weak_ptr_factory_; | 242 base::WeakPtrFactory<FaviconCache> weak_ptr_factory_; |
| 243 | 243 |
| 244 DISALLOW_COPY_AND_ASSIGN(FaviconCache); | 244 DISALLOW_COPY_AND_ASSIGN(FaviconCache); |
| 245 }; | 245 }; |
| 246 | 246 |
| 247 } // namespace browser_sync | 247 } // namespace browser_sync |
| 248 | 248 |
| 249 #endif // COMPONENTS_SYNC_DRIVER_FAVICON_CACHE_H_ | 249 #endif // COMPONENTS_SYNC_DRIVER_FAVICON_CACHE_H_ |
| OLD | NEW |