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

Unified Diff: content/child/notifications/notification_manager.cc

Issue 2489883006: Replace registration_id() with registrationId() (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
« no previous file with comments | « no previous file | content/child/push_messaging/push_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/notifications/notification_manager.cc
diff --git a/content/child/notifications/notification_manager.cc b/content/child/notifications/notification_manager.cc
index bb9ab7a9d2ef62a19ff0cc0e6a7f070f6a0226b6..ae02cfcbe2c4687867a39491796c59f8d6cde6a8 100644
--- a/content/child/notifications/notification_manager.cc
+++ b/content/child/notifications/notification_manager.cc
@@ -120,7 +120,7 @@ void NotificationManager::showPersistent(
int64_t service_worker_registration_id =
static_cast<WebServiceWorkerRegistrationImpl*>(
service_worker_registration)
- ->registration_id();
+ ->registrationId();
std::unique_ptr<blink::WebNotificationShowCallbacks> owned_callbacks(
callbacks);
@@ -172,7 +172,7 @@ void NotificationManager::getNotifications(
GURL origin = GURL(service_worker_registration_impl->scope()).GetOrigin();
int64_t service_worker_registration_id =
- service_worker_registration_impl->registration_id();
+ service_worker_registration_impl->registrationId();
// TODO(peter): GenerateNotificationId is more of a request id. Consider
// renaming the method in the NotificationDispatcher if this makes sense.
« no previous file with comments | « no previous file | content/child/push_messaging/push_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698