| 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 CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_TOP_SITES_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_TOP_SITES_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_TOP_SITES_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_TOP_SITES_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/task/cancelable_task_tracker.h" | 11 #include "base/task/cancelable_task_tracker.h" |
| 12 #include "chrome/browser/history/history_types.h" | |
| 13 #include "chrome/browser/history/visit_filter.h" | 12 #include "chrome/browser/history/visit_filter.h" |
| 14 #include "chrome/browser/ui/webui/ntp/suggestions_source.h" | 13 #include "chrome/browser/ui/webui/ntp/suggestions_source.h" |
| 14 #include "components/history/core/browser/history_types.h" |
| 15 | 15 |
| 16 class SuggestionsCombiner; | 16 class SuggestionsCombiner; |
| 17 class Profile; | 17 class Profile; |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 class DictionaryValue; | 20 class DictionaryValue; |
| 21 } | 21 } |
| 22 | 22 |
| 23 // A SuggestionsSource that uses the local TopSites database to provide | 23 // A SuggestionsSource that uses the local TopSites database to provide |
| 24 // suggestions. | 24 // suggestions. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 // Whether the source should provide additional debug information or not. | 58 // Whether the source should provide additional debug information or not. |
| 59 bool debug_; | 59 bool debug_; |
| 60 | 60 |
| 61 base::CancelableTaskTracker history_tracker_; | 61 base::CancelableTaskTracker history_tracker_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(SuggestionsSourceTopSites); | 63 DISALLOW_COPY_AND_ASSIGN(SuggestionsSourceTopSites); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif // CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_TOP_SITES_H_ | 66 #endif // CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_TOP_SITES_H_ |
| OLD | NEW |