| Index: chrome/browser/push_messaging/push_messaging_service_impl.cc
|
| diff --git a/chrome/browser/push_messaging/push_messaging_service_impl.cc b/chrome/browser/push_messaging/push_messaging_service_impl.cc
|
| index 0117f1dc36c52fa66742a45788dfb37c3fb01a65..d36fc89285060382ea2d1a719a4fc4a21633d42a 100644
|
| --- a/chrome/browser/push_messaging/push_messaging_service_impl.cc
|
| +++ b/chrome/browser/push_messaging/push_messaging_service_impl.cc
|
| @@ -335,10 +335,11 @@ void PushMessagingServiceImpl::OnSendAcknowledged(
|
| NOTREACHED() << "The Push API shouldn't have sent messages upstream";
|
| }
|
|
|
| -// GetPushEndpoint method ------------------------------------------------------
|
| +// GetEndpoint method ----------------------------------------------------------
|
|
|
| -GURL PushMessagingServiceImpl::GetPushEndpoint() {
|
| - return GURL(std::string(kPushMessagingEndpoint));
|
| +GURL PushMessagingServiceImpl::GetEndpoint(bool standard_protocol) const {
|
| + return GURL(standard_protocol ? kPushMessagingPushProtocolEndpoint
|
| + : kPushMessagingEndpoint);
|
| }
|
|
|
| // Subscribe and GetPermissionStatus methods -----------------------------------
|
|
|