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

Unified Diff: content/public/browser/platform_notification_service.h

Issue 1026853002: Integrate the notification database with the normal code path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@n-db-ConfirmShow
Patch Set: Created 5 years, 8 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: content/public/browser/platform_notification_service.h
diff --git a/content/public/browser/platform_notification_service.h b/content/public/browser/platform_notification_service.h
index 52a2b72e789d4cae5e1a0677affbd5c676c8b8cf..afcc31921f340fdc322bcb9ea7c6092848f66591 100644
--- a/content/public/browser/platform_notification_service.h
+++ b/content/public/browser/platform_notification_service.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_PUBLIC_BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_
#define CONTENT_PUBLIC_BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_
+#include <stdint.h>
#include <string>
#include "base/callback_forward.h"
@@ -61,7 +62,7 @@ class CONTENT_EXPORT PlatformNotificationService {
// the user. This method must be called on the UI thread.
virtual void DisplayPersistentNotification(
BrowserContext* browser_context,
- int64 service_worker_registration_id,
+ int64_t persistent_notification_id,
const GURL& origin,
const SkBitmap& icon,
const PlatformNotificationData& notification_data) = 0;
@@ -70,7 +71,7 @@ class CONTENT_EXPORT PlatformNotificationService {
// |persistent_notification_id|. This method must be called on the UI thread.
virtual void ClosePersistentNotification(
BrowserContext* browser_context,
- const std::string& persistent_notification_id) = 0;
+ int64_t persistent_notification_id) = 0;
};
} // namespace content
« no previous file with comments | « content/public/browser/notification_event_dispatcher.h ('k') | content/public/common/persistent_notification_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698