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