summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/clear_server_data.h
diff options
context:
space:
mode:
authorraz@chromium.org <raz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 15:48:01 +0000
committerraz@chromium.org <raz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 15:48:01 +0000
commitd575770adfc5473264389b6d5487a13f08ccc3ee (patch)
tree0735e181987dadf9c40160ec9384510dfa797910 /chrome/browser/views/clear_server_data.h
parentfc61e22e068da641dc88c528ba4f37c9f55001d0 (diff)
downloadchromium_src-d575770adfc5473264389b6d5487a13f08ccc3ee.zip
chromium_src-d575770adfc5473264389b6d5487a13f08ccc3ee.tar.gz
chromium_src-d575770adfc5473264389b6d5487a13f08ccc3ee.tar.bz2
Fixed 58452 + disabled clear server button, don't hide the UI
BUG=58452 TEST=repro steps in 58452, and in UI clear server data, note the button is greyed out not disabled Review URL: http://codereview.chromium.org/3626006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/clear_server_data.h')
-rw-r--r--chrome/browser/views/clear_server_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/views/clear_server_data.h b/chrome/browser/views/clear_server_data.h
index e10d464..64254f3 100644
--- a/chrome/browser/views/clear_server_data.h
+++ b/chrome/browser/views/clear_server_data.h
@@ -81,6 +81,9 @@ class ClearServerDataView : public views::View,
// have a delete operation in progress or not.
void UpdateControlEnabledState();
+ // Enables/disables the clear button as appropriate
+ void UpdateClearButtonEnabledState(bool delete_in_progress);
+
// Starts the process of deleting the browsing data depending on what the
// user selected.
void OnDelete();
@@ -94,6 +97,7 @@ class ClearServerDataView : public views::View,
ClearDataView* clear_data_parent_window_;
Profile* profile_;
+ ProfileSyncService* sync_service_;
bool allow_clear_;
views::Label* flash_title_label_;