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

Unified Diff: chrome/browser/history/history_backend.h

Issue 365133003: Change AndroidHistoryProviderService to use CancelableTaskTracker (4/6) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cancelable_task_tracker.4
Patch Set: clang-format 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
Index: chrome/browser/history/history_backend.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index e04336538154c5cfa882fb857f1d551dac9d246b..f0c82d97fbea3a5e11748617efb3e8f32a228409 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -25,6 +25,10 @@
#include "components/history/core/browser/keyword_id.h"
#include "sql/init_status.h"
+#if defined(OS_ANDROID)
+#include "chrome/browser/history/android/android_history_types.h"
+#endif
+
class TestingProfile;
class TypedUrlSyncableService;
struct ThumbnailScore;
@@ -281,8 +285,7 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
// Android Provider ---------------------------------------------------------
// History and bookmarks ----------------------------------------------------
- void InsertHistoryAndBookmark(scoped_refptr<InsertRequest> request,
- const HistoryAndBookmarkRow& row);
+ AndroidURLID InsertHistoryAndBookmark(const HistoryAndBookmarkRow& row);
Miguel Garcia 2014/07/07 09:54:49 please document both methods
sdefresne 2014/07/16 11:51:08 Done.
history::AndroidStatement* QueryHistoryAndBookmarks(
const std::vector<HistoryAndBookmarkRow::ColumnID>& projections,
@@ -315,8 +318,7 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
void CloseStatement(AndroidStatement* statement);
// Search terms -------------------------------------------------------------
- void InsertSearchTerm(scoped_refptr<InsertRequest> request,
- const SearchRow& row);
+ SearchTermID InsertSearchTerm(const SearchRow& row);
void UpdateSearchTerms(scoped_refptr<UpdateRequest> request,
const SearchRow& row,
« no previous file with comments | « chrome/browser/history/android/android_history_provider_service.cc ('k') | chrome/browser/history/history_backend_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698