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

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

Issue 785993003: [Push] Register: require user-visible to be present in the manifest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/permission_context_base_unittest.cc
diff --git a/chrome/browser/content_settings/permission_context_base_unittest.cc b/chrome/browser/content_settings/permission_context_base_unittest.cc
index 51983afe744dc678100f0d5094f5cd1e912713f9..b1f618521d78c2a875ccef821d385293ca656b77 100644
--- a/chrome/browser/content_settings/permission_context_base_unittest.cc
+++ b/chrome/browser/content_settings/permission_context_base_unittest.cc
@@ -82,7 +82,7 @@ class TestPermissionContext : public PermissionContextBase {
// saved for future use.
TEST_F(PermissionContextBaseTests, TestAskAndGrant) {
TestPermissionContext permission_context(profile(),
- CONTENT_SETTINGS_TYPE_PUSH_MESSAGING);
+ CONTENT_SETTINGS_TYPE_NOTIFICATIONS);
GURL url("http://www.google.com");
content::WebContentsTester::For(web_contents())->NavigateAndCommit(url);
@@ -105,7 +105,7 @@ TEST_F(PermissionContextBaseTests, TestAskAndGrant) {
ContentSetting setting =
profile()->GetHostContentSettingsMap()->GetContentSetting(
url.GetOrigin(), url.GetOrigin(),
- CONTENT_SETTINGS_TYPE_PUSH_MESSAGING, std::string());
+ CONTENT_SETTINGS_TYPE_NOTIFICATIONS, std::string());
EXPECT_EQ(CONTENT_SETTING_ALLOW , setting);
};

Powered by Google App Engine
This is Rietveld 408576698