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

Unified Diff: ui/message_center/notification.h

Issue 2876603004: Linux native notifications: Add attribution (Closed)
Patch Set: Address peter and yoshiki's comments Created 3 years, 7 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: ui/message_center/notification.h
diff --git a/ui/message_center/notification.h b/ui/message_center/notification.h
index 8b66c656c927bd5f5fecb5de701dff502e2ab4d8..6aff50c9625e22c7c7b1c85bf0457697b4e66a0d 100644
--- a/ui/message_center/notification.h
+++ b/ui/message_center/notification.h
@@ -129,6 +129,7 @@ class MESSAGE_CENTER_EXPORT Notification {
// Can be empty if the notification is requested by an extension or
// Chrome app.
const GURL& origin_url() const { return origin_url_; }
+ void set_origin_url(const GURL& origin_url) { origin_url_ = origin_url; }
// A display string for the source of the notification.
const base::string16& display_source() const { return display_source_; }

Powered by Google App Engine
This is Rietveld 408576698