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 81e457bf0f62c0dbdf6f3789a328beed25bd0303..6c45976cc3859249e324c51e5b7ef6eb87dd0cb8 100644 |
--- a/content/browser/notifications/notification_id_generator.h |
+++ b/content/browser/notifications/notification_id_generator.h |
@@ -37,8 +37,7 @@ class BrowserContext; |
// notification id can outlive the browser process responsible for creating it. |
class CONTENT_EXPORT NotificationIdGenerator { |
public: |
- NotificationIdGenerator(BrowserContext* browser_context, |
- int render_process_id); |
+ explicit NotificationIdGenerator(BrowserContext* browser_context); |
~NotificationIdGenerator(); |
// Returns whether |notification_id| belongs to a persistent notification. |
@@ -63,13 +62,12 @@ class CONTENT_EXPORT NotificationIdGenerator { |
std::string GenerateForNonPersistentNotification( |
const GURL& origin, |
const std::string& tag, |
- int non_persistent_notification_id) const; |
+ int non_persistent_notification_id, |
+ int render_process_id) const; |
private: |
// The NotificationMessageFilter that owns |this| will outlive the context. |
BrowserContext* browser_context_; |
- |
- int render_process_id_; |
}; |
} // namespace context |