| 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 988cccadd939412a1583541fd4f12de67c7cd5d2..23a8d14950b464a0b74c440d5a0387d89497eb61 100644
|
| --- a/chrome/browser/push_messaging/push_messaging_service_impl.cc
|
| +++ b/chrome/browser/push_messaging/push_messaging_service_impl.cc
|
| @@ -334,10 +334,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 -----------------------------------
|
|
|