| Index: chrome/browser/content_settings/content_settings_policy_provider_unittest.cc
|
| diff --git a/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc b/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc
|
| index af38ccb8367a7f53ce0f1a841d3fb6bfc4f81b96..e0122e2c7baec715ddba91f3f8ef507a4c3772d1 100644
|
| --- a/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc
|
| +++ b/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc
|
| @@ -190,13 +190,16 @@ TEST_F(PolicyProviderTest, GettingManagedContentSettings) {
|
|
|
| // The PolicyProvider does not allow setting content settings as they are
|
| // enforced via policies and not set by the user or extension. So a call to
|
| - // SetContentSetting does nothing.
|
| - provider.SetContentSetting(
|
| + // SetWebsiteSetting does nothing.
|
| + scoped_ptr<base::Value> value_block(
|
| + Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
|
| + bool owned = provider.SetWebsiteSetting(
|
| yt_url_pattern,
|
| yt_url_pattern,
|
| CONTENT_SETTINGS_TYPE_COOKIES,
|
| "",
|
| - CONTENT_SETTING_BLOCK);
|
| + value_block.get());
|
| + EXPECT_FALSE(owned);
|
| EXPECT_EQ(CONTENT_SETTING_DEFAULT,
|
| GetContentSetting(
|
| &provider, youtube_url, youtube_url,
|
|
|