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

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

Issue 879763002: Remove dependencies of InMemoryURLIndex on Profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@773103004
Patch Set: Created 5 years, 11 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/history_service.cc
diff --git a/chrome/browser/history/history_service.cc b/chrome/browser/history/history_service.cc
index 5a36bbc4177e001d461ec4805f119a7a04bc4ee0..b9d8afacd3701a543e6ea603af89ca6097353dce 100644
--- a/chrome/browser/history/history_service.cc
+++ b/chrome/browser/history/history_service.cc
@@ -964,7 +964,7 @@ bool HistoryService::Init(
std::string languages =
profile_->GetPrefs()->GetString(prefs::kAcceptLanguages);
in_memory_url_index_.reset(new history::InMemoryURLIndex(
- profile_, this, history_dir_, languages, history_client_));
+ this, history_dir_, languages, history_client_));
in_memory_url_index_->Init();
}
« no previous file with comments | « no previous file | chrome/browser/history/in_memory_url_index.h » ('j') | chrome/browser/history/in_memory_url_index.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698