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

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

Issue 10217010: Completed the code path from AndroidProviderService to HistoryBackend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Init Created 8 years, 8 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 GetMostRecentKeywordSearchTermsRequest; 81 GetMostRecentKeywordSearchTermsRequest;
82 82
83 // Generic operations --------------------------------------------------------- 83 // Generic operations ---------------------------------------------------------
84 84
85 // The argument here is an input value, which is the task to run on the 85 // 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 86 // background thread. The callback is used to execute the portion of the task
87 // that executes on the main thread. 87 // that executes on the main thread.
88 typedef CancelableRequest1<base::Closure, scoped_refptr<HistoryDBTask> > 88 typedef CancelableRequest1<base::Closure, scoped_refptr<HistoryDBTask> >
89 HistoryDBTaskRequest; 89 HistoryDBTaskRequest;
90 90
91 #if defined(OS_ANDROID)
sky 2012/04/25 15:57:25 move to history_marshalling_android
michaelbai 2012/04/26 05:32:48 Done.
92 // Android Provider ------------------------------------------------------------
93 typedef CancelableRequest<AndroidProviderService::InsertCallback> InsertRequest;
94 typedef CancelableRequest<AndroidProviderService::QueryCallback> QueryRequest;
95 typedef CancelableRequest<AndroidProviderService::UpdateCallback> UpdateRequest;
96 typedef CancelableRequest<AndroidProviderService::DeleteCallback> DeleteRequest;
97 typedef CancelableRequest<AndroidProviderService::MoveStatementCallback>
98 MoveStatementRequest;
99 #endif
91 } // namespace history 100 } // namespace history
92 101
93 #endif // CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_ 102 #endif // CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698