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

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

Issue 10392084: WIP for integration between Chrome and Google Web History. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More work. Created 8 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
« no previous file with comments | « chrome/browser/history/history.h ('k') | chrome/browser/history/web_history_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history.cc
diff --git a/chrome/browser/history/history.cc b/chrome/browser/history/history.cc
index f869296af0b2c83494bbcb762d8c60da16e4412c..db98dc59939e69f9c6ee4918d25703b54bb003ad 100644
--- a/chrome/browser/history/history.cc
+++ b/chrome/browser/history/history.cc
@@ -867,6 +867,10 @@ void HistoryService::LoadBackendIfNecessary() {
languages = prefs->GetString(prefs::kAcceptLanguages);
}
ScheduleAndForget(PRIORITY_UI, &HistoryBackend::Init, languages, no_db_);
+
+ // Create a WebHistoryService instance for this profile. This is used to
+ // fetch visits from other devices from Google Web History.
+ history::WebHistoryService::GetForProfile(profile_);
}
void HistoryService::OnDBLoaded(int backend_id) {
« no previous file with comments | « chrome/browser/history/history.h ('k') | chrome/browser/history/web_history_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698