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

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

Issue 580243004: Remove unnecessary image downloading handler of notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 3 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 ea8c8ae31dfeb8c4726a584ec9a3405fd01b8e90..0f6045802995833f50cfb67fa195e5cb1d517c14 100644
--- a/chrome/browser/notifications/notification_object_proxy.h
+++ b/chrome/browser/notifications/notification_object_proxy.h
@@ -25,7 +25,6 @@ class NotificationObjectProxy
// Creates a Proxy object with the necessary callback information. The Proxy
// will take ownership of |delegate|.
NotificationObjectProxy(
- content::RenderFrameHost* render_frame_host,
scoped_ptr<content::DesktopNotificationDelegate> delegate);
// NotificationDelegate implementation.
@@ -34,7 +33,6 @@ class NotificationObjectProxy
virtual void Close(bool by_user) OVERRIDE;
virtual void Click() OVERRIDE;
virtual std::string id() const OVERRIDE;
- virtual content::WebContents* GetWebContents() const OVERRIDE;
protected:
friend class base::RefCountedThreadSafe<NotificationObjectProxy>;
@@ -42,9 +40,6 @@ class NotificationObjectProxy
virtual ~NotificationObjectProxy();
private:
- // Callback information to find the JS Notification object where it lives.
- int render_process_id_;
- int render_frame_id_;
scoped_ptr<content::DesktopNotificationDelegate> delegate_;
bool displayed_;
std::string id_;

Powered by Google App Engine
This is Rietveld 408576698