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

Unified Diff: chrome/browser/notifications/native_notification_delegate.cc

Issue 2888303004: Minimize the delegate dependencies for non persistent notifications. (Closed)
Patch Set: review 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: chrome/browser/notifications/native_notification_delegate.cc
diff --git a/chrome/browser/notifications/native_notification_delegate.cc b/chrome/browser/notifications/native_notification_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..26c0b6d334f3b8e1b156de3ab66ed6dda82e3754
--- /dev/null
+++ b/chrome/browser/notifications/native_notification_delegate.cc
@@ -0,0 +1,9 @@
+// Copyright 2017 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.
+
+#include "chrome/browser/notifications/native_notification_delegate.h"
+
+std::string NativeNotificationDelegate::id() const {
+ return notification_id_;
+}

Powered by Google App Engine
This is Rietveld 408576698