| 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 95aac69c1233be8e27ca219244e1b78dc6860d32..cad219da02995ba93c51019f8921c84b6abc69d4 100644
|
| --- a/chrome/browser/push_messaging/push_messaging_service_impl.cc
|
| +++ b/chrome/browser/push_messaging/push_messaging_service_impl.cc
|
| @@ -349,10 +349,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
|
| + : kPushMessagingGcmEndpoint);
|
| }
|
|
|
| // Subscribe and GetPermissionStatus methods -----------------------------------
|
|
|