| 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 840e8ee348dbd0b89fbc8b548d3f3b5533423d4c..83776ec145a2552559a5cca70119d3c42b5d1fcd 100644
|
| --- a/chrome/browser/history/history_backend_android.cc
|
| +++ b/chrome/browser/history/history_backend_android.cc
|
| @@ -8,17 +8,12 @@
|
|
|
| namespace history {
|
|
|
| -void HistoryBackend::InsertHistoryAndBookmark(
|
| - scoped_refptr<InsertRequest> request,
|
| +AndroidURLID HistoryBackend::InsertHistoryAndBookmark(
|
| const HistoryAndBookmarkRow& row) {
|
| - if (request->canceled())
|
| - return;
|
| -
|
| AndroidURLID id = 0;
|
| if (android_provider_backend_)
|
| id = android_provider_backend_->InsertHistoryAndBookmark(row);
|
| -
|
| - request->ForwardResult(request->handle(), id != 0, id);
|
| + return id;
|
| }
|
|
|
| AndroidStatement* HistoryBackend::QueryHistoryAndBookmarks(
|
| @@ -111,16 +106,11 @@ void HistoryBackend::CloseStatement(AndroidStatement* statement) {
|
|
|
| // Search Term -----------------------------------------------------------------
|
|
|
| -void HistoryBackend::InsertSearchTerm(scoped_refptr<InsertRequest> request,
|
| - const SearchRow& row) {
|
| - if (request->canceled())
|
| - return;
|
| -
|
| +SearchTermID HistoryBackend::InsertSearchTerm(const SearchRow& row) {
|
| SearchTermID id = 0;
|
| if (android_provider_backend_)
|
| id = android_provider_backend_->InsertSearchTerm(row);
|
| -
|
| - request->ForwardResult(request->handle(), id != 0, id);
|
| + return id;
|
| }
|
|
|
| void HistoryBackend::UpdateSearchTerms(
|
|
|