Index: components/content_settings/core/browser/cookie_settings.h |
diff --git a/components/content_settings/core/browser/cookie_settings.h b/components/content_settings/core/browser/cookie_settings.h |
index f3c627915fa3f541f30f6ac52b4754888693cf66..26ffa8068bacc6f85d71e4f76853652c36457e16 100644 |
--- a/components/content_settings/core/browser/cookie_settings.h |
+++ b/components/content_settings/core/browser/cookie_settings.h |
@@ -77,12 +77,10 @@ class CookieSettings : public RefcountedKeyedService { |
// This should only be called on the UI thread. |
void SetDefaultCookieSetting(ContentSetting setting); |
- // Sets the cookie setting for the given patterns. |
+ // Sets the cookie setting for the given url. |
// |
// This should only be called on the UI thread. |
- void SetCookieSetting(const ContentSettingsPattern& primary_pattern, |
- const ContentSettingsPattern& secondary_pattern, |
- ContentSetting setting); |
+ void SetCookieSetting(const GURL& primary_url, ContentSetting setting); |
// Resets the cookie setting for the given url. |
// |