| Index: chrome/browser/ui/webui/settings/site_settings_handler.h
|
| diff --git a/chrome/browser/ui/webui/settings/site_settings_handler.h b/chrome/browser/ui/webui/settings/site_settings_handler.h
|
| index f4ad68ea739cb8e8abdc2404a931732d4d70b434..7288db4edec7c9070797f57212afd2b8c85cd0f4 100644
|
| --- a/chrome/browser/ui/webui/settings/site_settings_handler.h
|
| +++ b/chrome/browser/ui/webui/settings/site_settings_handler.h
|
| @@ -30,17 +30,24 @@ class SiteSettingsHandler
|
|
|
| // StorageInfoFetcher::Observer:
|
| void OnGetUsageInfo(const storage::UsageInfoEntries& entries) override;
|
| + void OnUsageInfoCleared(storage::QuotaStatusCode code) override;
|
|
|
| private:
|
| // Asynchronously fetches the usage for a given origin. Replies back with
|
| // OnGetUsageInfo above.
|
| void HandleFetchUsageTotal(const base::ListValue* args);
|
|
|
| + // Deletes the storage being used for a given host.
|
| + void HandleClearUsage(const base::ListValue* args);
|
| +
|
| Profile* profile_;
|
|
|
| // The host for which to fetch usage.
|
| std::string usage_host_;
|
|
|
| + // The origin for which to clear usage.
|
| + std::string clearing_origin_;
|
| +
|
| // The helper object asynchronously fetching storage info.
|
| scoped_refptr<StorageInfoFetcher> storage_info_fetcher_;
|
|
|
|
|