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

Unified Diff: content/browser/notifications/notification_id_generator.h

Issue 2534443002: Use notification display service to collect persistent notifications. (Closed)
Patch Set: revert unit test Created 4 years 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: content/browser/notifications/notification_id_generator.h
diff --git a/content/browser/notifications/notification_id_generator.h b/content/browser/notifications/notification_id_generator.h
index d279e194b37d3c3acf2220244125d7e5d97d9308..1bdee865ae42db18b3ef529c0eb062c0ae835198 100644
--- a/content/browser/notifications/notification_id_generator.h
+++ b/content/browser/notifications/notification_id_generator.h
@@ -40,14 +40,6 @@ class CONTENT_EXPORT NotificationIdGenerator {
explicit NotificationIdGenerator(BrowserContext* browser_context);
~NotificationIdGenerator();
- // Returns whether |notification_id| belongs to a persistent notification.
- static bool IsPersistentNotification(
- const base::StringPiece& notification_id);
-
- // Returns whether |notification_id| belongs to a non-persistent notification.
- static bool IsNonPersistentNotification(
- const base::StringPiece& notification_id);
-
// Generates an id for a persistent notification given the notification's
// origin, tag and persistent notification id. The persistent notification id
// will have been created by the persistent notification database.

Powered by Google App Engine
This is Rietveld 408576698