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 // Data structures for communication between the history service on the main | 5 // Data structures for communication between the history service on the main |
6 // thread and the backend on the history thread. | 6 // thread and the backend on the history thread. |
7 | 7 |
8 #ifndef CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_ | 8 #ifndef CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_ |
9 #define CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_ | 9 #define CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_ |
10 #pragma once | 10 #pragma once |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 typedef CancelableRequest1<HistoryService::QueryTopURLsAndRedirectsCallback, | 37 typedef CancelableRequest1<HistoryService::QueryTopURLsAndRedirectsCallback, |
38 Tuple2<std::vector<GURL>, | 38 Tuple2<std::vector<GURL>, |
39 history::RedirectMap> > | 39 history::RedirectMap> > |
40 QueryTopURLsAndRedirectsRequest; | 40 QueryTopURLsAndRedirectsRequest; |
41 | 41 |
42 typedef CancelableRequest1<HistoryService::QueryMostVisitedURLsCallback, | 42 typedef CancelableRequest1<HistoryService::QueryMostVisitedURLsCallback, |
43 history::MostVisitedURLList> | 43 history::MostVisitedURLList> |
44 QueryMostVisitedURLsRequest; | 44 QueryMostVisitedURLsRequest; |
45 | 45 |
| 46 typedef CancelableRequest1<HistoryService::QueryFilteredURLsCallback, |
| 47 history::FilteredURLList> |
| 48 QueryFilteredURLsRequest; |
| 49 |
46 // Thumbnails ----------------------------------------------------------------- | 50 // Thumbnails ----------------------------------------------------------------- |
47 | 51 |
48 typedef CancelableRequest<HistoryService::ThumbnailDataCallback> | 52 typedef CancelableRequest<HistoryService::ThumbnailDataCallback> |
49 GetPageThumbnailRequest; | 53 GetPageThumbnailRequest; |
50 | 54 |
51 // Favicons ------------------------------------------------------------------- | 55 // Favicons ------------------------------------------------------------------- |
52 | 56 |
53 typedef CancelableRequest<FaviconService::FaviconDataCallback> | 57 typedef CancelableRequest<FaviconService::FaviconDataCallback> |
54 GetFaviconRequest; | 58 GetFaviconRequest; |
55 | 59 |
(...skipping 28 matching lines...) Expand all Loading... |
84 | 88 |
85 // The argument here is an input value, which is the task to run on the | 89 // The argument here is an input value, which is the task to run on the |
86 // background thread. The callback is used to execute the portion of the task | 90 // background thread. The callback is used to execute the portion of the task |
87 // that executes on the main thread. | 91 // that executes on the main thread. |
88 typedef CancelableRequest1<base::Closure, scoped_refptr<HistoryDBTask> > | 92 typedef CancelableRequest1<base::Closure, scoped_refptr<HistoryDBTask> > |
89 HistoryDBTaskRequest; | 93 HistoryDBTaskRequest; |
90 | 94 |
91 } // namespace history | 95 } // namespace history |
92 | 96 |
93 #endif // CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_ | 97 #endif // CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_ |
OLD | NEW |