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

Unified Diff: components/history/core/browser/history_service.cc

Issue 1205603002: Remove dependency of HistoryServiceFactory on ChromeBookmarkClientFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split_history_client
Patch Set: Remove change to BookmarkModelObserver and use BaseBookmarkModelObserver Created 5 years, 6 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: components/history/core/browser/history_service.cc
diff --git a/components/history/core/browser/history_service.cc b/components/history/core/browser/history_service.cc
index da0ed64137e740b8f4b79894060d797b5ffa0d98..0665bffc21043ecdc3ec306b212ebf8cb14dcd65 100644
--- a/components/history/core/browser/history_service.cc
+++ b/components/history/core/browser/history_service.cc
@@ -18,6 +18,7 @@
#include "components/history/core/browser/history_service.h"
+#include "base/bind.h"
sky 2015/06/23 17:38:50 Is this necessary?
sdefresne 2015/06/23 21:46:33 I don't think it is necessary (it is probably tran
#include "base/bind_helpers.h"
#include "base/callback.h"
#include "base/command_line.h"
@@ -889,6 +890,9 @@ bool HistoryService::Init(
if (visit_delegate_ && !visit_delegate_->Init(this))
return false;
+ if (history_client_)
+ history_client_->Init(this);
+
return true;
}

Powered by Google App Engine
This is Rietveld 408576698