Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(690)

Side by Side Diff: chrome/browser/history/history_marshaling.h

Issue 10870022: Change FaviconData to be able to return data for multiple bitmaps for same icon URL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 // 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 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 history::FilteredURLList> 50 history::FilteredURLList>
51 QueryFilteredURLsRequest; 51 QueryFilteredURLsRequest;
52 52
53 // Thumbnails ----------------------------------------------------------------- 53 // Thumbnails -----------------------------------------------------------------
54 54
55 typedef CancelableRequest<HistoryService::ThumbnailDataCallback> 55 typedef CancelableRequest<HistoryService::ThumbnailDataCallback>
56 GetPageThumbnailRequest; 56 GetPageThumbnailRequest;
57 57
58 // Favicons ------------------------------------------------------------------- 58 // Favicons -------------------------------------------------------------------
59 59
60 typedef CancelableRequest<FaviconService::FaviconDataCallback> 60 typedef CancelableRequest<FaviconService::FaviconResultsCallback>
61 GetFaviconRequest; 61 GetFaviconRequest;
62 62
63 // Downloads ------------------------------------------------------------------ 63 // Downloads ------------------------------------------------------------------
64 64
65 typedef CancelableRequest1<HistoryService::DownloadNextIdCallback, 65 typedef CancelableRequest1<HistoryService::DownloadNextIdCallback,
66 int/*next_id*/> 66 int/*next_id*/>
67 DownloadNextIdRequest; 67 DownloadNextIdRequest;
68 68
69 69
70 typedef CancelableRequest1<HistoryService::DownloadQueryCallback, 70 typedef CancelableRequest1<HistoryService::DownloadQueryCallback,
(...skipping 20 matching lines...) Expand all
91 91
92 // The argument here is an input value, which is the task to run on the 92 // The argument here is an input value, which is the task to run on the
93 // background thread. The callback is used to execute the portion of the task 93 // background thread. The callback is used to execute the portion of the task
94 // that executes on the main thread. 94 // that executes on the main thread.
95 typedef CancelableRequest1<base::Closure, scoped_refptr<HistoryDBTask> > 95 typedef CancelableRequest1<base::Closure, scoped_refptr<HistoryDBTask> >
96 HistoryDBTaskRequest; 96 HistoryDBTaskRequest;
97 97
98 } // namespace history 98 } // namespace history
99 99
100 #endif // CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_ 100 #endif // CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698