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

Unified Diff: chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.h

Issue 2118503005: [MD settings] disable clear browsing data while it is running (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added status message for removing Created 4 years, 5 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/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 d8a09e5810c4b9962beb947554aafcebc168fb71..7ba5a3090d54dffe86d5c06eb69faa23514fd88a 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
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_CLEAR_BROWSING_DATA_HANDLER_H_
#include <memory>
+#include <string>
#include <vector>
#include "base/macros.h"
@@ -45,7 +46,9 @@ class ClearBrowsingDataHandler : public SettingsPageUIHandler,
void HandleClearBrowsingData(const base::ListValue* value);
// BrowsingDataRemover::Observer implementation.
- // Re-enables clear button once all requested data has been removed.
+ // Enable/disable clear button.
+ void OnBrowsingDataRemoving(bool is_removing) override;
+ // Edge trigger. Show completion information.
Dan Beam 2016/07/07 18:06:49 i'd just remove the comments so people look at the
dschuyler 2016/07/20 19:01:15 Done.
void OnBrowsingDataRemoverDone() override;
// Updates UI when the pref to allow clearing history changes.

Powered by Google App Engine
This is Rietveld 408576698