Index: chrome/browser/services/gcm/push_messaging_service_impl.h |
diff --git a/chrome/browser/services/gcm/push_messaging_service_impl.h b/chrome/browser/services/gcm/push_messaging_service_impl.h |
index 99de11693c656b28fd4f44661dc81b0877e7ac8c..f09674e9eec06c93ce31fcae5e2f4794723b24c2 100644 |
--- a/chrome/browser/services/gcm/push_messaging_service_impl.h |
+++ b/chrome/browser/services/gcm/push_messaging_service_impl.h |
@@ -82,6 +82,12 @@ class PushMessagingServiceImpl : public content::PushMessagingService, |
const GCMClient::IncomingMessage& message, |
content::PushDeliveryStatus status); |
+ // Developers are required to display a Web Notification in response to an |
+ // incoming push message in order to clarify to the user that something has |
+ // happened in the background. When they forget to do so, display a default |
+ // notification on their behalf. |
+ void RequireUserVisibleUX(const PushMessagingApplicationId& application_id); |
+ |
void RegisterEnd( |
const content::PushMessagingService::RegisterCallback& callback, |
const std::string& registration_id, |