diff options
Diffstat (limited to 'chromium/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h')
-rw-r--r-- | chromium/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h b/chromium/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h index 32762312475..798bb9adecf 100644 --- a/chromium/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h +++ b/chromium/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h @@ -95,12 +95,18 @@ class ClearBrowsingDataHandler : public SettingsPageUIHandler, // Initializes the dialog UI. Called by JavaScript when the DOM is ready. void HandleInitialize(const base::Value::List& args); + // Returns the current sync state to the WebUI. + void HandleGetSyncState(const base::Value::List& args); + // Implementation of SyncServiceObserver. void OnStateChanged(syncer::SyncService* sync) override; // Updates the footer of the dialog when the sync state changes. virtual void UpdateSyncState(); + // Create a SyncStateEvent containing the current sync state. + base::DictionaryValue CreateSyncStateEvent(); + // Finds out whether we should show notice about other forms of history stored // in user's account. void RefreshHistoryNotice(); |