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

Unified Diff: chrome/browser/history/in_memory_history_backend.cc

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_history_backend.cc
diff --git a/chrome/browser/history/in_memory_history_backend.cc b/chrome/browser/history/in_memory_history_backend.cc
index 928be33b4507d90a1f84c38a82113c1eb64a29f6..633b89e8851e9488a30da0f8fc91e518925cee95 100644
--- a/chrome/browser/history/in_memory_history_backend.cc
+++ b/chrome/browser/history/in_memory_history_backend.cc
@@ -28,7 +28,7 @@ InMemoryHistoryBackend::InMemoryHistoryBackend()
InMemoryHistoryBackend::~InMemoryHistoryBackend() {
if (history_service_)
- history_service_->RemoveHistoryServiceObserver(this);
+ history_service_->RemoveObserver(this);
}
bool InMemoryHistoryBackend::Init(const base::FilePath& history_filename) {
@@ -46,7 +46,7 @@ void InMemoryHistoryBackend::AttachToHistoryService(
DCHECK(history_service);
history_service_ = history_service;
- history_service_->AddHistoryServiceObserver(this);
+ history_service_->AddObserver(this);
profile_ = profile;

Powered by Google App Engine
This is Rietveld 408576698