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

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

Issue 642623004: Rename VisitDatabaseObserver to HistoryServiceObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@373326
Patch Set: Created 6 years, 2 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/in_memory_url_index.h
diff --git a/chrome/browser/history/in_memory_url_index.h b/chrome/browser/history/in_memory_url_index.h
index 79bfb2837d7ac3a7202f058e9b716406b997fe54..35800a99b265a4994b193f5baf93ba7448a4bb7d 100644
--- a/chrome/browser/history/in_memory_url_index.h
+++ b/chrome/browser/history/in_memory_url_index.h
@@ -19,15 +19,14 @@
#include "base/strings/string16.h"
#include "base/task/cancelable_task_tracker.h"
#include "chrome/browser/history/history_db_task.h"
+#include "chrome/browser/history/history_service.h"
#include "chrome/browser/history/in_memory_url_index_types.h"
#include "chrome/browser/history/scored_history_match.h"
-#include "components/history/core/browser/history_service_observer.h"
#include "components/history/core/browser/history_types.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "sql/connection.h"
-class HistoryService;
class HistoryQuickProviderTest;
class Profile;
@@ -69,7 +68,7 @@ struct URLVisitedDetails;
// will eliminate such words except in the case where a single character
// is being searched on and which character occurs as the second char16 of a
// multi-char16 instance.
-class InMemoryURLIndex : public HistoryServiceObserver,
+class InMemoryURLIndex : public HistoryService::Observer,
public content::NotificationObserver,
public base::SupportsWeakPtr<InMemoryURLIndex> {
public:
@@ -240,7 +239,7 @@ class InMemoryURLIndex : public HistoryServiceObserver,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
- // HistoryServiceObserver:
+ // HistoryService::Observer:
virtual void OnURLVisited(ui::PageTransition transition,
const URLRow& row,
const RedirectList& redirects,

Powered by Google App Engine
This is Rietveld 408576698