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

Unified Diff: chrome/browser/content_settings/content_settings_usages_state_unittest.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/content_settings_usages_state_unittest.cc
diff --git a/chrome/browser/content_settings/content_settings_usages_state_unittest.cc b/chrome/browser/content_settings/content_settings_usages_state_unittest.cc
index 6c9188945f8a5442f827784c9868aab303ede8d1..15bce769395f29f88b43e317d9ae4ac5118a162d 100644
--- a/chrome/browser/content_settings/content_settings_usages_state_unittest.cc
+++ b/chrome/browser/content_settings/content_settings_usages_state_unittest.cc
@@ -36,10 +36,7 @@ class ContentSettingsUsagesStateTests : public testing::Test {
void ClearOnNewOrigin(ContentSettingsType type) {
TestingProfile profile;
ContentSettingsUsagesState state(
- HostContentSettingsMapFactory::GetForProfile(&profile),
- type,
- prefs::kAcceptLanguages,
- profile.GetPrefs());
+ HostContentSettingsMapFactory::GetForProfile(&profile), type);
GURL url_0("http://www.example.com");
ContentSettingsUsagesState::CommittedDetails details =
@@ -136,10 +133,7 @@ class ContentSettingsUsagesStateTests : public testing::Test {
void ShowPortOnSameHost(ContentSettingsType type) {
TestingProfile profile;
ContentSettingsUsagesState state(
- HostContentSettingsMapFactory::GetForProfile(&profile),
- type,
- prefs::kAcceptLanguages,
- profile.GetPrefs());
+ HostContentSettingsMapFactory::GetForProfile(&profile), type);
GURL url_0("http://www.example.com");
ContentSettingsUsagesState::CommittedDetails details =
« no previous file with comments | « chrome/browser/chrome_quota_permission_context.cc ('k') | chrome/browser/content_settings/tab_specific_content_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698