OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_HISTORY_CORE_BROWSER_TOP_SITES_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "base/task/cancelable_task_tracker.h" | 13 #include "base/task/cancelable_task_tracker.h" |
14 #include "components/history/core/browser/history_types.h" | 14 #include "components/history/core/browser/history_types.h" |
15 #include "components/history/core/browser/top_sites_observer.h" | 15 #include "components/history/core/browser/top_sites_observer.h" |
16 #include "components/history/core/common/thumbnail_score.h" | 16 #include "components/history/core/common/thumbnail_score.h" |
17 #include "components/keyed_service/core/refcounted_keyed_service.h" | 17 #include "components/keyed_service/core/refcounted_keyed_service.h" |
18 #include "third_party/skia/include/core/SkColor.h" | 18 #include "third_party/skia/include/core/SkColor.h" |
19 #include "ui/gfx/image/image.h" | 19 #include "ui/gfx/image/image.h" |
20 | 20 |
21 class GURL; | 21 class GURL; |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 friend class base::RefCountedThreadSafe<TopSites>; | 185 friend class base::RefCountedThreadSafe<TopSites>; |
186 | 186 |
187 base::ObserverList<TopSitesObserver, true> observer_list_; | 187 base::ObserverList<TopSitesObserver, true> observer_list_; |
188 | 188 |
189 DISALLOW_COPY_AND_ASSIGN(TopSites); | 189 DISALLOW_COPY_AND_ASSIGN(TopSites); |
190 }; | 190 }; |
191 | 191 |
192 } // namespace history | 192 } // namespace history |
193 | 193 |
194 #endif // COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_H_ | 194 #endif // COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_H_ |
OLD | NEW |