| Index: chrome/browser/cookies_tree_model_unittest.cc
|
| diff --git a/chrome/browser/cookies_tree_model_unittest.cc b/chrome/browser/cookies_tree_model_unittest.cc
|
| index 787c125728a509425fde818cca141b6fc9beb445..1be7cbb36348bb18c81e7e65fb61c7bccf5e97d4 100644
|
| --- a/chrome/browser/cookies_tree_model_unittest.cc
|
| +++ b/chrome/browser/cookies_tree_model_unittest.cc
|
| @@ -948,6 +948,8 @@ TEST_F(CookiesTreeModelTest, ContentSettings) {
|
| TestingProfile profile;
|
| HostContentSettingsMap* content_settings =
|
| profile.GetHostContentSettingsMap();
|
| + CookieContentSettings* cookie_content_settings =
|
| + profile.GetCookieContentSettings();
|
| MockSettingsObserver observer;
|
|
|
| CookieTreeRootNode* root =
|
| @@ -973,8 +975,8 @@ TEST_F(CookiesTreeModelTest, ContentSettings) {
|
| false));
|
| origin->CreateContentException(
|
| content_settings, CONTENT_SETTING_SESSION_ONLY);
|
| - EXPECT_EQ(CONTENT_SETTING_SESSION_ONLY,
|
| - content_settings->GetCookieContentSetting(host, host, true));
|
| + EXPECT_TRUE(cookie_content_settings->Allow(host, host, true));
|
| + EXPECT_TRUE(cookie_content_settings->EnforceSessionOnly(host));
|
| }
|
|
|
| TEST_F(CookiesTreeModelTest, FileSystemFilter) {
|
|
|