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

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

Issue 2657673004: Add shutdown notification and service refs to SyncServiceObserver. (Closed)
Patch Set: Use parameter Created 3 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/browsing_history_service.cc
diff --git a/chrome/browser/history/browsing_history_service.cc b/chrome/browser/history/browsing_history_service.cc
index a02601a60e744214f4962fd282d500832cc79a29..ccc285f33a6b171bb7aa218e4a641c136292a35d 100644
--- a/chrome/browser/history/browsing_history_service.cc
+++ b/chrome/browser/history/browsing_history_service.cc
@@ -152,7 +152,7 @@ BrowsingHistoryService::~BrowsingHistoryService() {
web_history_request_.reset();
}
-void BrowsingHistoryService::OnStateChanged() {
+void BrowsingHistoryService::OnStateChanged(syncer::SyncService* sync) {
// If the history sync was enabled, start observing WebHistoryService.
// This method should not be called after we already added the observer.
history::WebHistoryService* web_history =

Powered by Google App Engine
This is Rietveld 408576698