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

Unified Diff: chrome/browser/browsing_data/cookies_tree_model_unittest.cc

Issue 2075103002: Change ContentSettingsType's scoping type and hookup migration code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@do_migration_after_sync
Patch Set: revise test Created 4 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/content_settings/host_content_settings_map_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/cookies_tree_model_unittest.cc
diff --git a/chrome/browser/browsing_data/cookies_tree_model_unittest.cc b/chrome/browser/browsing_data/cookies_tree_model_unittest.cc
index 89a237a66fa903cebd2afa50bd0ee24cd31f3a8e..043097ad78d2156887389912e4037e63e1876ab1 100644
--- a/chrome/browser/browsing_data/cookies_tree_model_unittest.cc
+++ b/chrome/browser/browsing_data/cookies_tree_model_unittest.cc
@@ -1429,10 +1429,11 @@ TEST_F(CookiesTreeModelTest, ContentSettings) {
EXPECT_EQ(1, origin->child_count());
EXPECT_TRUE(origin->CanCreateContentException());
- EXPECT_CALL(observer, OnContentSettingsChanged(
- content_settings, CONTENT_SETTINGS_TYPE_COOKIES,
- false, ContentSettingsPattern::FromURL(host),
- ContentSettingsPattern::Wildcard(), false))
+ EXPECT_CALL(observer,
+ OnContentSettingsChanged(
+ content_settings, CONTENT_SETTINGS_TYPE_COOKIES, false,
+ ContentSettingsPattern::FromURLNoWildcard(host),
+ ContentSettingsPattern::Wildcard(), false))
.Times(2);
origin->CreateContentException(
cookie_settings, CONTENT_SETTING_SESSION_ONLY);
« no previous file with comments | « no previous file | chrome/browser/content_settings/host_content_settings_map_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698