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 CHROME_BROWSER_SYNC_GLUE_FAVICON_CACHE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_FAVICON_CACHE_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_FAVICON_CACHE_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_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/task/cancelable_task_tracker.h" | 18 #include "base/task/cancelable_task_tracker.h" |
19 #include "chrome/browser/history/history_types.h" | 19 #include "components/history/core/browser/history_types.h" |
20 #include "components/sessions/session_id.h" | 20 #include "components/sessions/session_id.h" |
21 #include "content/public/browser/notification_observer.h" | 21 #include "content/public/browser/notification_observer.h" |
22 #include "content/public/browser/notification_registrar.h" | 22 #include "content/public/browser/notification_registrar.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 class Profile; | 28 class Profile; |
29 | 29 |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 229 |
230 // Weak pointer factory for favicon loads. | 230 // Weak pointer factory for favicon loads. |
231 base::WeakPtrFactory<FaviconCache> weak_ptr_factory_; | 231 base::WeakPtrFactory<FaviconCache> weak_ptr_factory_; |
232 | 232 |
233 DISALLOW_COPY_AND_ASSIGN(FaviconCache); | 233 DISALLOW_COPY_AND_ASSIGN(FaviconCache); |
234 }; | 234 }; |
235 | 235 |
236 } // namespace browser_sync | 236 } // namespace browser_sync |
237 | 237 |
238 #endif // CHROME_BROWSER_SYNC_GLUE_FAVICON_CACHE_H_ | 238 #endif // CHROME_BROWSER_SYNC_GLUE_FAVICON_CACHE_H_ |
OLD | NEW |