| 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..b5e0d79171476e4d8a5aa7d8309e4919d82202ec 100644
|
| --- a/chrome/browser/ui/webui/options2/clear_browser_data_handler2.h
|
| +++ b/chrome/browser/ui/webui/options2/clear_browser_data_handler2.h
|
| @@ -28,11 +28,15 @@ class ClearBrowserDataHandler : public OptionsPageUIHandler,
|
|
|
| private:
|
| // Javascript callback to start clearing data.
|
| - void HandleClearBrowserData(const ListValue* value);
|
| + void ClearBrowserData(const ListValue* value);
|
|
|
| // Callback from BrowsingDataRemover. Closes the dialog.
|
| virtual void OnBrowsingDataRemoverDone() OVERRIDE;
|
|
|
| + // Clears the data of hosted apps, which is otherwise protected from deletion
|
| + // when the user clears regular browsing data.
|
| + void ClearHostedAppData();
|
| +
|
| // 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);
|
| };
|
|
|
|
|