OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_DOM_UI_MOST_VISITED_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_MOST_VISITED_HANDLER_H_ |
6 #define CHROME_BROWSER_DOM_UI_MOST_VISITED_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_MOST_VISITED_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "chrome/browser/cancelable_request.h" | 12 #include "chrome/browser/cancelable_request.h" |
13 #include "chrome/browser/dom_ui/web_ui.h" | |
14 #include "chrome/browser/history/history_types.h" | 13 #include "chrome/browser/history/history_types.h" |
| 14 #include "chrome/browser/webui/web_ui.h" |
15 #include "chrome/common/notification_observer.h" | 15 #include "chrome/common/notification_observer.h" |
16 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
17 | 17 |
18 class DictionaryValue; | 18 class DictionaryValue; |
19 class GURL; | 19 class GURL; |
20 class ListValue; | 20 class ListValue; |
21 class PageUsageData; | 21 class PageUsageData; |
22 class PrefService; | 22 class PrefService; |
23 class Value; | 23 class Value; |
24 | 24 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 // we get the first getMostVisited() call. | 127 // we get the first getMostVisited() call. |
128 bool got_first_most_visited_request_; | 128 bool got_first_most_visited_request_; |
129 | 129 |
130 // Keep the results of the db query here. | 130 // Keep the results of the db query here. |
131 scoped_ptr<ListValue> pages_value_; | 131 scoped_ptr<ListValue> pages_value_; |
132 | 132 |
133 DISALLOW_COPY_AND_ASSIGN(MostVisitedHandler); | 133 DISALLOW_COPY_AND_ASSIGN(MostVisitedHandler); |
134 }; | 134 }; |
135 | 135 |
136 #endif // CHROME_BROWSER_DOM_UI_MOST_VISITED_HANDLER_H_ | 136 #endif // CHROME_BROWSER_DOM_UI_MOST_VISITED_HANDLER_H_ |
OLD | NEW |