| 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..eebe0a3d3ffdebd2fc5e5743290168875defdf75 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| is true, it raises a new
|
| + // single site edit view.
|
| + void GetInfoForOrigin(const GURL& site_url, bool show_page);
|
|
|
| // Updates the page with the last settings used.
|
| void Update();
|
|
|