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

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

Issue 291643002: Move favicon callbacks to favicon_base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android unittest Created 6 years, 7 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 0a4349bfd0036122b8ad8b8c0de298c3b66a2d55..f5c7870014508891b7b975b76be06703a58565ac 100644
--- a/chrome/browser/history/android/sqlite_cursor.h
+++ b/chrome/browser/history/android/sqlite_cursor.h
@@ -16,9 +16,11 @@
#include "base/synchronization/waitable_event.h"
#include "base/task/cancelable_task_tracker.h"
#include "chrome/browser/common/cancelable_request.h"
-#include "chrome/browser/favicon/favicon_service.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"
+
+class FaviconService;
// This class is JNI implementation of
// org.chromium.chrome.database.SqliteCursor, it uses the AndroidStatement to
@@ -151,7 +153,7 @@ class SQLiteCursor {
void GetFaviconForIDInUIThread(
favicon_base::FaviconID id,
- const FaviconService::FaviconRawCallback& callback);
+ const favicon_base::FaviconRawCallback& callback);
// The callback function of FaviconService::GetLargestRawFaviconForID().
void OnFaviconData(const favicon_base::FaviconBitmapResult& bitmap_result);

Powered by Google App Engine
This is Rietveld 408576698