Chromium Code Reviews| Index: chrome/browser/ui/webui/options/website_settings_handler.h |
| diff --git a/chrome/browser/ui/webui/options/website_settings_handler.h b/chrome/browser/ui/webui/options/website_settings_handler.h |
| index 22386dd45d54fa67dae83b337ff21afb6c3955f8..3ce75f478346fa318bcd65fcb0b26beaf463456f 100644 |
| --- a/chrome/browser/ui/webui/options/website_settings_handler.h |
| +++ b/chrome/browser/ui/webui/options/website_settings_handler.h |
| @@ -66,6 +66,13 @@ class WebsiteSettingsHandler : public content_settings::Observer, |
| // |args| is the URL. |
| void HandleMaybeShowEditPage(const base::ListValue* args); |
| + // Deletes the local storage and repopulates the page. |
| + void HandleDeleteLocalStorage(const base::ListValue* args); |
| + |
| + // Closes all tabs and app windows which have the same origin as the selected |
| + // page. |
| + void HandleStopOrigin(const base::ListValue* args); |
| + |
| // Callback method to be invoked when fetching the data is complete. |
| void OnLocalStorageFetched(const LocalStorageList& storage); |
| @@ -77,9 +84,16 @@ class WebsiteSettingsHandler : public content_settings::Observer, |
| // and update the page. |
| void UpdateLocalStorage(); |
| + // Kill all tabs and app windows which have the same origin as |site_url|. |
| + void StopOrigin(const GURL& site_url); |
| + |
| + // Delete all of the local storage for the |site_url|. |
| + void DeleteLocalStorage(const GURL& site_url); |
| + |
| // Populates the single site edit view with the permissions and local storage |
| - // usage for a given |site_url|. |
| - void GetInfoForOrigin(const GURL& site_url); |
| + // usage for a given |site_url|. If |show_page|, it raises a new single site |
|
Bernhard Bauer
2014/08/22 20:42:39
"If |show_page| is true, [...]"
Daniel Nishi
2014/08/22 21:45:25
Done.
|
| + // edit view. |
| + void GetInfoForOrigin(const GURL& site_url, bool show_page); |
| // Updates the page with the last settings used. |
| void Update(); |