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

Unified Diff: chrome/browser/content_settings/tab_specific_content_settings.cc

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: chrome/browser/content_settings/tab_specific_content_settings.cc
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.cc b/chrome/browser/content_settings/tab_specific_content_settings.cc
index 892f296be2559a90a8fad25d227ab8eb692dddbe..0a1be6e2a15798f1ac971d429296116a33549546 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc
@@ -93,15 +93,11 @@ TabSpecificContentSettings::TabSpecificContentSettings(WebContents* tab)
geolocation_usages_state_(
HostContentSettingsMapFactory::GetForProfile(
Profile::FromBrowserContext(tab->GetBrowserContext())),
- CONTENT_SETTINGS_TYPE_GEOLOCATION,
- prefs::kAcceptLanguages,
- Profile::FromBrowserContext(tab->GetBrowserContext())->GetPrefs()),
+ CONTENT_SETTINGS_TYPE_GEOLOCATION),
midi_usages_state_(
HostContentSettingsMapFactory::GetForProfile(
Profile::FromBrowserContext(tab->GetBrowserContext())),
- CONTENT_SETTINGS_TYPE_MIDI_SYSEX,
- prefs::kAcceptLanguages,
- Profile::FromBrowserContext(tab->GetBrowserContext())->GetPrefs()),
+ CONTENT_SETTINGS_TYPE_MIDI_SYSEX),
pending_protocol_handler_(ProtocolHandler::EmptyProtocolHandler()),
previous_protocol_handler_(ProtocolHandler::EmptyProtocolHandler()),
pending_protocol_handler_setting_(CONTENT_SETTING_DEFAULT),

Powered by Google App Engine
This is Rietveld 408576698