Index: chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h |
diff --git a/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h b/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h |
index 57b97f77a3ff4a7b2ed490d38b0656c2a3216a68..a713bff953139f5350c41577120ce89494693bba 100644 |
--- a/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h |
+++ b/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h |
@@ -54,9 +54,11 @@ class ClearBrowsingDataHandler : public SettingsPageUIHandler, |
// Initializes the dialog UI. Called by JavaScript when the DOM is ready. |
void HandleInitialize(const base::ListValue* args); |
- // Implementation of SyncServiceObserver. Updates the footer of the dialog |
- // when the sync state changes. |
- void OnStateChanged() override; |
+ // Implementation of SyncServiceObserver. |
+ void OnStateChanged(syncer::SyncService* sync) override; |
+ |
+ // Updates the footer of the dialog when the sync state changes. |
+ void UpdateSyncState(); |
// Finds out whether we should show notice about other forms of history stored |
// in user's account. |