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

Unified Diff: content/browser/push_messaging_message_filter.cc

Issue 338363003: Push API: register PushMessagingServiceImpl as GCMAppHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« components/gcm_driver/gcm_driver.cc ('K') | « components/gcm_driver/gcm_driver.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/push_messaging_message_filter.cc
diff --git a/content/browser/push_messaging_message_filter.cc b/content/browser/push_messaging_message_filter.cc
index 8f15112d681db76fe137f20496423d5fc5368482..451c11253f6be876828459a742e4928d4780a679 100644
--- a/content/browser/push_messaging_message_filter.cc
+++ b/content/browser/push_messaging_message_filter.cc
@@ -57,8 +57,8 @@ void PushMessagingMessageFilter::DoRegister(int routing_id,
DidRegister(routing_id, callbacks_id, GURL(), "", false);
return;
}
- // TODO(mvanouwerkerk): Pass in app ID based on Service Worker ID.
- std::string app_id = "unknown-app-id";
+ // TODO(mvanouwerkerk): Pass in a real app ID based on Service Worker ID.
+ std::string app_id = "https://example.com 0";
service_->Register(app_id,
sender_id,
base::Bind(&PushMessagingMessageFilter::DidRegister,
« components/gcm_driver/gcm_driver.cc ('K') | « components/gcm_driver/gcm_driver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698