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

Unified Diff: chrome/browser/history/history_backend_android.cc

Issue 366133003: Change AndroidHistoryProviderService to use CancelableTaskTracker (3/6) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cancelable_task_tracker.3
Patch Set: Fix unit tests Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/history/history_backend.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_backend_android.cc
diff --git a/chrome/browser/history/history_backend_android.cc b/chrome/browser/history/history_backend_android.cc
index f2be5ac9543077a292414789ae1fbd92900bfbfb..840e8ee348dbd0b89fbc8b548d3f3b5533423d4c 100644
--- a/chrome/browser/history/history_backend_android.cc
+++ b/chrome/browser/history/history_backend_android.cc
@@ -86,11 +86,9 @@ void HistoryBackend::DeleteHistory(
// Statement -------------------------------------------------------------------
-void HistoryBackend::MoveStatement(
- scoped_refptr<MoveStatementRequest> request,
- history::AndroidStatement* statement,
- int current_pos,
- int destination) {
+int HistoryBackend::MoveStatement(history::AndroidStatement* statement,
+ int current_pos,
+ int destination) {
DCHECK_LE(-1, current_pos);
DCHECK_LE(-1, destination);
@@ -104,7 +102,7 @@ void HistoryBackend::MoveStatement(
break;
}
- request->ForwardResult(request->handle(), cur);
+ return cur;
}
void HistoryBackend::CloseStatement(AndroidStatement* statement) {
« no previous file with comments | « chrome/browser/history/history_backend.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698