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

Unified Diff: content/browser/notification_message_filter.h

Issue 681783004: Implement the PageNotificationDelegate for the new Web Notification path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/Ids/ids/ Created 6 years, 2 months 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
« no previous file with comments | « no previous file | content/browser/notification_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/notification_message_filter.h
diff --git a/content/browser/notification_message_filter.h b/content/browser/notification_message_filter.h
deleted file mode 100644
index 92f7b47b38d9e7ea16b42b704aa9e53c250c7285..0000000000000000000000000000000000000000
--- a/content/browser/notification_message_filter.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_NOTIFICATION_MESSAGE_FILTER_H_
-#define CONTENT_BROWSER_NOTIFICATION_MESSAGE_FILTER_H_
-
-#include "content/public/browser/browser_message_filter.h"
-#include "third_party/WebKit/public/platform/WebNotificationPermission.h"
-
-class GURL;
-
-namespace content {
-
-class ResourceContext;
-struct ShowDesktopNotificationHostMsgParams;
-
-class NotificationMessageFilter : public BrowserMessageFilter {
- public:
- NotificationMessageFilter(
- int process_id,
- ResourceContext* resource_context);
-
- // BrowserMessageFilter implementation. Called on the UI thread.
- bool OnMessageReceived(const IPC::Message& message) override;
- void OverrideThreadForMessage(
- const IPC::Message& message, content::BrowserThread::ID* thread) override;
-
- protected:
- ~NotificationMessageFilter() override;
-
- private:
- void OnCheckNotificationPermission(
- const GURL& origin, blink::WebNotificationPermission* permission);
- void OnShowPlatformNotification(
- int notification_id, const ShowDesktopNotificationHostMsgParams& params);
- void OnClosePlatformNotification(int notification_id);
-
- int process_id_;
- ResourceContext* resource_context_;
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_NOTIFICATION_MESSAGE_FILTER_H_
« no previous file with comments | « no previous file | content/browser/notification_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698