| 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 <set> |
| 9 #include <string> | 10 #include <string> |
| 11 #include <vector> |
| 10 | 12 |
| 11 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 13 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 14 #include "base/memory/linked_ptr.h" | 16 #include "base/memory/linked_ptr.h" |
| 15 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/ref_counted_memory.h" | 18 #include "base/memory/ref_counted_memory.h" |
| 17 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
| 18 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
| 19 #include "base/scoped_observer.h" | 21 #include "base/scoped_observer.h" |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 | 243 |
| 242 // Weak pointer factory for favicon loads. | 244 // Weak pointer factory for favicon loads. |
| 243 base::WeakPtrFactory<FaviconCache> weak_ptr_factory_; | 245 base::WeakPtrFactory<FaviconCache> weak_ptr_factory_; |
| 244 | 246 |
| 245 DISALLOW_COPY_AND_ASSIGN(FaviconCache); | 247 DISALLOW_COPY_AND_ASSIGN(FaviconCache); |
| 246 }; | 248 }; |
| 247 | 249 |
| 248 } // namespace browser_sync | 250 } // namespace browser_sync |
| 249 | 251 |
| 250 #endif // COMPONENTS_SYNC_DRIVER_FAVICON_CACHE_H_ | 252 #endif // COMPONENTS_SYNC_DRIVER_FAVICON_CACHE_H_ |
| OLD | NEW |