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 ec4dd72cb37a9b26f3d5d4e3cffc2833ec4d8c4f..43b51bdfbc5c1cde655d210b1e47417fd6d97a55 100644 |
--- a/chrome/browser/ui/webui/options/website_settings_handler.h |
+++ b/chrome/browser/ui/webui/options/website_settings_handler.h |
@@ -40,9 +40,23 @@ class WebsiteSettingsHandler : public OptionsPageUIHandler { |
// |args| is the filter string. |
void HandleUpdateSearchResults(const base::ListValue* args); |
+ // Update the single site edit view with the permission values for a given |
+ // url, if the url is valid. |
+ // |args| is the URL. |
+ void HandleGetOriginInfo(const base::ListValue* args); |
+ |
+ // Sets the content setting permissions for a given setting type for the last |
+ // used origin. |
+ // |args| is the name of the setting and the new value. |
+ void HandleSetOriginPermission(const base::ListValue* args); |
+ |
// Update the page with all origins that are using local storage. |
void HandleUpdateLocalStorage(const base::ListValue* args); |
+ // Show the single site edit view if the given URL is valid. |
+ // |args| is the URL. |
+ void HandleMaybeShowEditPage(const base::ListValue* args); |
+ |
// Callback method to be invoked when fetching the data is complete. |
void OnLocalStorageFetched(const LocalStorageList& storage); |
@@ -54,8 +68,13 @@ class WebsiteSettingsHandler : public OptionsPageUIHandler { |
// and update the page. |
void UpdateLocalStorage(); |
+ // Populates the single site edit view with the permissions and local storage |
+ // usage for a given |site_url|. |
+ void GetInfoForOrigin(const GURL& site_url); |
+ |
std::string last_setting_; |
std::string last_filter_; |
+ GURL last_site_; |
scoped_refptr<BrowsingDataLocalStorageHelper> local_storage_; |
LocalStorageList local_storage_list_; |