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 fd8382965d5fede9b4f6dc06b0057e49de04ba73..aa6d5c069765a6c8c117e365ad34ccf5f0b92d6b 100644 |
--- a/chrome/browser/ui/webui/options/website_settings_handler.h |
+++ b/chrome/browser/ui/webui/options/website_settings_handler.h |
@@ -78,6 +78,12 @@ class WebsiteSettingsHandler : public content_settings::Observer, |
// Deletes the local storage and repopulates the page. |
void HandleDeleteLocalStorage(const base::ListValue* args); |
+ // Populates the default setting drop down on the single site edit page. |
+ void HandleUpdateDefaultSetting(const base::ListValue* args); |
+ |
+ // Sets the default setting for the lat used content setting to |args|. |
+ void HandleSetDefaultSetting(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); |
@@ -111,6 +117,11 @@ class WebsiteSettingsHandler : public content_settings::Observer, |
// Updates the page with the last settings used. |
void Update(); |
+ // Gets the default setting in string form. If |provider_id| is not NULL, the |
+ // id of the provider which provided the default setting is assigned to it. |
+ std::string GetSettingDefaultFromModel(ContentSettingsType type, |
+ std::string* provider_id); |
+ |
// Returns the base URL for websites, or the app name for Chrome App URLs. |
const std::string& GetReadableName(const GURL& site_url); |