| Index: components/browsing_data/core/counters/history_counter.cc
|
| diff --git a/components/browsing_data/core/counters/history_counter.cc b/components/browsing_data/core/counters/history_counter.cc
|
| index c1c44512ba0dcf2b820ef9a1f1220f58346c123c..daf801073c250aceb7a3f26b8986fdb4a5e8b708 100644
|
| --- a/components/browsing_data/core/counters/history_counter.cc
|
| +++ b/components/browsing_data/core/counters/history_counter.cc
|
| @@ -158,7 +158,7 @@ HistoryCounter::HistoryResult::HistoryResult(const HistoryCounter* source,
|
|
|
| HistoryCounter::HistoryResult::~HistoryResult() {}
|
|
|
| -void HistoryCounter::OnStateChanged() {
|
| +void HistoryCounter::OnStateChanged(syncer::SyncService* sync) {
|
| bool history_sync_enabled_new_state = !!web_history_service_callback_.Run();
|
|
|
| // If the history sync was just enabled or disabled, restart the counter
|
|
|