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

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

Issue 580243004: Remove unnecessary image downloading handler of notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix of desktop linux/win 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.h
diff --git a/chrome/browser/notifications/notification.h b/chrome/browser/notifications/notification.h
index c2db1f23a2955e8cf0f1349f5b1ab0d65abaa51d..dbf3898c63c1483bf265ee8131f6198e6556115c 100644
--- a/chrome/browser/notifications/notification.h
+++ b/chrome/browser/notifications/notification.h
@@ -57,13 +57,6 @@ class Notification : public message_center::Notification {
// A unique identifier used to update (replace) or remove a notification.
const base::string16& replace_id() const { return replace_id_; }
- // A url for the button icons to be shown (optional).
- const GURL& button_one_icon_url() const { return button_one_icon_url_; }
- const GURL& button_two_icon_url() const { return button_two_icon_url_; }
-
- // A url for the image to be shown (optional).
- const GURL& image_url() const { return image_url_; }
-
// Id of the delegate embedded inside this instance.
std::string delegate_id() const { return delegate()->id(); }
@@ -73,13 +66,6 @@ class Notification : public message_center::Notification {
// The Origin of the page/worker which created this notification.
GURL origin_url_;
- // The URLs of the button images for a rich notification.
- GURL button_one_icon_url_;
- GURL button_two_icon_url_;
-
- // The URL of a large image to be displayed for a a rich notification.
- GURL image_url_;
-
// The user-supplied replace ID for the notification.
base::string16 replace_id_;
« no previous file with comments | « chrome/browser/notifications/message_center_notifications_browsertest.cc ('k') | chrome/browser/notifications/notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698