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

Unified Diff: chrome/browser/notifications/notification_object_proxy.h

Issue 578883003: Remove the strict dependency on WebContents for Web Notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: plumb through render_process_id 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
Index: chrome/browser/notifications/notification_object_proxy.h
diff --git a/chrome/browser/notifications/notification_object_proxy.h b/chrome/browser/notifications/notification_object_proxy.h
index df82d54c807c1dbff0f06d2be75e69f5b9194007..fca156576450f399d878bcc74e0c456f48914aaa 100644
--- a/chrome/browser/notifications/notification_object_proxy.h
+++ b/chrome/browser/notifications/notification_object_proxy.h
@@ -12,15 +12,13 @@
namespace content {
class DesktopNotificationDelegate;
-class RenderFrameHost;
}
// A NotificationObjectProxy stands in for the JavaScript Notification object
// which corresponds to a notification toast on the desktop. It can be signaled
// when various events occur regarding the desktop notification, and the
// attached JS listeners will be invoked in the renderer or worker process.
-class NotificationObjectProxy
- : public NotificationDelegate {
+class NotificationObjectProxy : public NotificationDelegate {
public:
// Creates a Proxy object with the necessary callback information. The Proxy
// will take ownership of |delegate|.
@@ -35,8 +33,6 @@ class NotificationObjectProxy
std::string id() const override;
protected:
- friend class base::RefCountedThreadSafe<NotificationObjectProxy>;
-
~NotificationObjectProxy() override;
private:

Powered by Google App Engine
This is Rietveld 408576698