| 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/gtest_prod_util.h" |
| 13 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
| 14 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/ref_counted_memory.h" | 16 #include "base/memory/ref_counted_memory.h" |
| 16 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 18 #include "base/scoped_observer.h" | 19 #include "base/scoped_observer.h" |
| 19 #include "base/task/cancelable_task_tracker.h" | 20 #include "base/task/cancelable_task_tracker.h" |
| 20 #include "components/history/core/browser/history_service_observer.h" | 21 #include "components/history/core/browser/history_service_observer.h" |
| 21 #include "components/history/core/browser/history_types.h" | 22 #include "components/history/core/browser/history_types.h" |
| 22 #include "components/sessions/core/session_id.h" | 23 #include "components/sessions/core/session_id.h" |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 | 241 |
| 241 // Weak pointer factory for favicon loads. | 242 // Weak pointer factory for favicon loads. |
| 242 base::WeakPtrFactory<FaviconCache> weak_ptr_factory_; | 243 base::WeakPtrFactory<FaviconCache> weak_ptr_factory_; |
| 243 | 244 |
| 244 DISALLOW_COPY_AND_ASSIGN(FaviconCache); | 245 DISALLOW_COPY_AND_ASSIGN(FaviconCache); |
| 245 }; | 246 }; |
| 246 | 247 |
| 247 } // namespace browser_sync | 248 } // namespace browser_sync |
| 248 | 249 |
| 249 #endif // COMPONENTS_SYNC_DRIVER_FAVICON_CACHE_H_ | 250 #endif // COMPONENTS_SYNC_DRIVER_FAVICON_CACHE_H_ |
| OLD | NEW |