Index: chrome/browser/content_settings/host_content_settings_map.h |
diff --git a/chrome/browser/content_settings/host_content_settings_map.h b/chrome/browser/content_settings/host_content_settings_map.h |
index 915c4a7582da102720c2dd9bdb0aecd22d816c5d..148e325bb554f9830763cffd93ad8acfb2ab0aee 100644 |
--- a/chrome/browser/content_settings/host_content_settings_map.h |
+++ b/chrome/browser/content_settings/host_content_settings_map.h |
@@ -218,6 +218,12 @@ class HostContentSettingsMap |
const GURL& secondary_url, |
ContentSettingsType content_type); |
+ // Sets the last time that a given content type has been used for a pattern |
+ // pair to the current time. |
+ void UpdateLastUsageByPattern(const ContentSettingsPattern& primary_pattern, |
+ const ContentSettingsPattern& secondary_pattern, |
+ ContentSettingsType content_type); |
+ |
// Returns the last time the pattern that matches the URL has requested |
// permission for the |content_type| setting. |
base::Time GetLastUsage(const GURL& primary_url, |
@@ -271,12 +277,6 @@ class HostContentSettingsMap |
// it is not being called too late. |
void UsedContentSettingsProviders() const; |
- // Convenience method for updating the last usage of a content type for a |
- // pattern. |
- void UpdateLastUsageByPattern(const ContentSettingsPattern& primary_pattern, |
- const ContentSettingsPattern& secondary_pattern, |
- ContentSettingsType content_type); |
- |
content_settings::PrefProvider* GetPrefProvider(); |
#ifndef NDEBUG |