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

Unified Diff: chrome/browser/history/android/sqlite_cursor.h

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
Index: chrome/browser/history/android/sqlite_cursor.h
diff --git a/chrome/browser/history/android/sqlite_cursor.h b/chrome/browser/history/android/sqlite_cursor.h
index b4cf8f67c26279225720638ac87b609bc04bb8ef..48edc671348375e079f511f897b454f12dd2d509 100644
--- a/chrome/browser/history/android/sqlite_cursor.h
+++ b/chrome/browser/history/android/sqlite_cursor.h
@@ -15,7 +15,6 @@
#include "base/strings/string16.h"
#include "base/synchronization/waitable_event.h"
#include "base/task/cancelable_task_tracker.h"
-#include "chrome/browser/common/cancelable_request.h"
#include "chrome/browser/history/android/android_history_provider_service.h"
#include "chrome/browser/history/history_types.h"
#include "components/favicon_base/favicon_callback.h"
@@ -159,7 +158,7 @@ class SQLiteCursor {
void OnFaviconData(const favicon_base::FaviconRawBitmapResult& bitmap_result);
// The callback function of MoveTo().
- void OnMoved(AndroidHistoryProviderService::Handle handle, int pos);
+ void OnMoved(int pos);
JavaColumnType GetColumnTypeInternal(int column);
@@ -182,7 +181,6 @@ class SQLiteCursor {
FaviconService* favicon_service_;
// Live on UI thread.
- scoped_ptr<CancelableRequestConsumer> consumer_;
scoped_ptr<base::CancelableTaskTracker> tracker_;
// The count of result rows.

Powered by Google App Engine
This is Rietveld 408576698