| 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 6b9eaf63a8a76d065c8658b0b387c632df0d7ff1..dd09baa22a2d3cd67c4caa466782fae17739f00e 100644
|
| --- a/content/shell/browser/layout_test/layout_test_message_filter.cc
|
| +++ b/content/shell/browser/layout_test/layout_test_message_filter.cc
|
| @@ -60,10 +60,6 @@ bool LayoutTestMessageFilter::OnMessageReceived(const IPC::Message& message) {
|
| IPC_MESSAGE_HANDLER(LayoutTestHostMsg_ClearAllDatabases,
|
| OnClearAllDatabases)
|
| IPC_MESSAGE_HANDLER(LayoutTestHostMsg_SetDatabaseQuota, OnSetDatabaseQuota)
|
| - IPC_MESSAGE_HANDLER(LayoutTestHostMsg_GrantWebNotificationPermission,
|
| - OnGrantWebNotificationPermission)
|
| - IPC_MESSAGE_HANDLER(LayoutTestHostMsg_ClearWebNotificationPermissions,
|
| - OnClearWebNotificationPermissions)
|
| IPC_MESSAGE_HANDLER(LayoutTestHostMsg_SimulateWebNotificationClick,
|
| OnSimulateWebNotificationClick)
|
| IPC_MESSAGE_HANDLER(LayoutTestHostMsg_AcceptAllCookies, OnAcceptAllCookies)
|
| @@ -110,24 +106,6 @@ void LayoutTestMessageFilter::OnSetDatabaseQuota(int quota) {
|
| storage::QuotaCallback());
|
| }
|
|
|
| -void LayoutTestMessageFilter::OnGrantWebNotificationPermission(
|
| - const GURL& origin, bool permission_granted) {
|
| - LayoutTestNotificationManager* manager =
|
| - LayoutTestContentBrowserClient::Get()->GetLayoutTestNotificationManager();
|
| - if (manager) {
|
| - manager->SetPermission(origin, permission_granted ?
|
| - blink::WebNotificationPermissionAllowed :
|
| - blink::WebNotificationPermissionDenied);
|
| - }
|
| -}
|
| -
|
| -void LayoutTestMessageFilter::OnClearWebNotificationPermissions() {
|
| - LayoutTestNotificationManager* manager =
|
| - LayoutTestContentBrowserClient::Get()->GetLayoutTestNotificationManager();
|
| - if (manager)
|
| - manager->ClearPermissions();
|
| -}
|
| -
|
| void LayoutTestMessageFilter::OnSimulateWebNotificationClick(
|
| const std::string& title) {
|
| LayoutTestNotificationManager* manager =
|
|
|