Chromium Code Reviews| Index: chrome/browser/ui/webui/options2/clear_browser_data_handler2.h |
| diff --git a/chrome/browser/ui/webui/options2/clear_browser_data_handler2.h b/chrome/browser/ui/webui/options2/clear_browser_data_handler2.h |
| index 9e5481209a3a3f8d76fe23f1873a5c7b589e8d95..aaaa13b6a13a1acb01879b074fd49bfadf8e6d26 100644 |
| --- a/chrome/browser/ui/webui/options2/clear_browser_data_handler2.h |
| +++ b/chrome/browser/ui/webui/options2/clear_browser_data_handler2.h |
| @@ -33,6 +33,10 @@ class ClearBrowserDataHandler : public OptionsPageUIHandler, |
| // Callback from BrowsingDataRemover. Closes the dialog. |
| virtual void OnBrowsingDataRemoverDone() OVERRIDE; |
| + // Clears the data of hosted apps, which is usually protected from deletion |
|
markusheintz_
2012/06/04 14:50:52
nit: Does "usually" mean:
A) always protected
B) s
Mike West
2012/06/05 08:55:02
Changed to "otherwise", which I think makes things
|
| + // when the user clears regular browsing data. |
| + void HandleClearHostedAppData(); |
| + |
| // If non-null it means removal is in progress. BrowsingDataRemover takes care |
| // of deleting itself when done. |
| BrowsingDataRemover* remover_; |
| @@ -40,6 +44,10 @@ class ClearBrowserDataHandler : public OptionsPageUIHandler, |
| // Keeps track of whether clearing LSO data is supported. |
| BooleanPrefMember clear_plugin_lso_data_enabled_; |
| + // Indicates that we also need to delete hosted app data after finishing the |
| + // first removal operation. |
| + bool remove_hosted_app_data_pending_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(ClearBrowserDataHandler); |
| }; |