Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: components/content_settings/core/browser/content_settings_usages_state.h

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/content_settings/core/browser/content_settings_usages_state.h
diff --git a/components/content_settings/core/browser/content_settings_usages_state.h b/components/content_settings/core/browser/content_settings_usages_state.h
index b4d34107bf86143a142467f56ee41d0ba44be4dc..770483eed6d078695b11f460526e401ec5b03964 100644
--- a/components/content_settings/core/browser/content_settings_usages_state.h
+++ b/components/content_settings/core/browser/content_settings_usages_state.h
@@ -14,7 +14,6 @@
#include "url/gurl.h"
class HostContentSettingsMap;
-class PrefService;
// This class manages a content setting state per tab for a given
// |ContentSettingsType|, and provides information and presentation data about
@@ -33,9 +32,7 @@ class ContentSettingsUsagesState {
ContentSettingsUsagesState(
HostContentSettingsMap* host_content_settings_map,
- ContentSettingsType type,
- const std::string& accept_language_pref,
- PrefService* prefs);
+ ContentSettingsType type);
~ContentSettingsUsagesState();
typedef std::map<GURL, ContentSetting> StateMap;
@@ -75,8 +72,6 @@ class ContentSettingsUsagesState {
std::string GURLToFormattedHost(const GURL& url) const;
HostContentSettingsMap* const host_content_settings_map_;
- PrefService* const pref_service_;
- std::string accept_language_pref_;
ContentSettingsType type_;
StateMap state_map_;
GURL embedder_url_;

Powered by Google App Engine
This is Rietveld 408576698