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

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

Issue 7237034: sql::MetaTable.next_download_id, DownloadManager::GetNextId() (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: MSVC requires operator< for hash_map Created 9 years, 4 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) 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 typedef CancelableRequest<HistoryService::ThumbnailDataCallback> 48 typedef CancelableRequest<HistoryService::ThumbnailDataCallback>
49 GetPageThumbnailRequest; 49 GetPageThumbnailRequest;
50 50
51 // Favicons ------------------------------------------------------------------- 51 // Favicons -------------------------------------------------------------------
52 52
53 typedef CancelableRequest<FaviconService::FaviconDataCallback> 53 typedef CancelableRequest<FaviconService::FaviconDataCallback>
54 GetFaviconRequest; 54 GetFaviconRequest;
55 55
56 // Downloads ------------------------------------------------------------------ 56 // Downloads ------------------------------------------------------------------
57 57
58 typedef CancelableRequest1<HistoryService::DownloadNextIdCallback,
59 int/*next_id*/>
60 DownloadNextIdRequest;
61
62
58 typedef CancelableRequest1<HistoryService::DownloadQueryCallback, 63 typedef CancelableRequest1<HistoryService::DownloadQueryCallback,
59 std::vector<DownloadHistoryInfo> > 64 std::vector<DownloadHistoryInfo> >
60 DownloadQueryRequest; 65 DownloadQueryRequest;
61 66
62 typedef CancelableRequest<HistoryService::DownloadCreateCallback> 67 typedef CancelableRequest<HistoryService::DownloadCreateCallback>
63 DownloadCreateRequest; 68 DownloadCreateRequest;
64 69
65 // Deletion -------------------------------------------------------------------- 70 // Deletion --------------------------------------------------------------------
66 71
67 typedef CancelableRequest<HistoryService::ExpireHistoryCallback> 72 typedef CancelableRequest<HistoryService::ExpireHistoryCallback>
(...skipping 17 matching lines...) Expand all
85 // The argument here is an input value, which is the task to run on the 90 // 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 91 // background thread. The callback is used to execute the portion of the task
87 // that executes on the main thread. 92 // that executes on the main thread.
88 typedef CancelableRequest1<HistoryService::HistoryDBTaskCallback, 93 typedef CancelableRequest1<HistoryService::HistoryDBTaskCallback,
89 scoped_refptr<HistoryDBTask> > 94 scoped_refptr<HistoryDBTask> >
90 HistoryDBTaskRequest; 95 HistoryDBTaskRequest;
91 96
92 } // namespace history 97 } // namespace history
93 98
94 #endif // CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_ 99 #endif // CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698