Index: content/shell/browser/layout_test/layout_test_message_filter.cc |
diff --git a/content/shell/browser/layout_test/layout_test_message_filter.cc b/content/shell/browser/layout_test/layout_test_message_filter.cc |
index 970334f9c169a4b0bd9caa357757a4fa3a685a33..256b8e63c434a89c0f3c2cbaaab6f4ab044dd1f9 100644 |
--- a/content/shell/browser/layout_test/layout_test_message_filter.cc |
+++ b/content/shell/browser/layout_test/layout_test_message_filter.cc |
@@ -55,8 +55,6 @@ bool LayoutTestMessageFilter::OnMessageReceived(const IPC::Message& message) { |
IPC_MESSAGE_HANDLER(LayoutTestHostMsg_ClearAllDatabases, |
OnClearAllDatabases) |
IPC_MESSAGE_HANDLER(LayoutTestHostMsg_SetDatabaseQuota, OnSetDatabaseQuota) |
- IPC_MESSAGE_HANDLER(LayoutTestHostMsg_CheckWebNotificationPermission, |
- OnCheckWebNotificationPermission) |
IPC_MESSAGE_HANDLER(LayoutTestHostMsg_GrantWebNotificationPermission, |
OnGrantWebNotificationPermission) |
IPC_MESSAGE_HANDLER(LayoutTestHostMsg_ClearWebNotificationPermissions, |
@@ -105,16 +103,6 @@ void LayoutTestMessageFilter::OnSetDatabaseQuota(int quota) { |
storage::QuotaCallback()); |
} |
-void LayoutTestMessageFilter::OnCheckWebNotificationPermission( |
- const GURL& origin, int* result) { |
- LayoutTestNotificationManager* manager = |
- LayoutTestContentBrowserClient::Get()->GetLayoutTestNotificationManager(); |
- if (manager) |
- *result = manager->CheckPermission(origin); |
- else |
- *result = blink::WebNotificationPermissionAllowed; |
-} |
- |
void LayoutTestMessageFilter::OnGrantWebNotificationPermission( |
const GURL& origin, bool permission_granted) { |
LayoutTestNotificationManager* manager = |