Push API: Add PushMessagingService::PushEndpoint (assume it's constant)
commit12917ee734cdcf11290efb4037fa2878d77a4cd0
authorjohnme <johnme@chromium.org>
Mon, 1 Dec 2014 19:09:07 +0000 (1 11:09 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 1 Dec 2014 19:09:35 +0000 (1 19:09 +0000)
tree69fff0b4ace0056ce2b2d710906227021139b305
parente6fc24f598e1a31380b6bf9567d770b0ed68b870
Push API: Add PushMessagingService::PushEndpoint (assume it's constant)

For https://crbug.com/429212 we'll need to store the currently
registered push endpoint + registration ID pairs. Since push endpoint
is a constant for all known implementers of Chromium's content layer,
we can add a no-arguments accessor to the content layer which returns
it directly. This will let us save storage space once we store these
pairs.

BUG=429212,401422

Review URL: https://codereview.chromium.org/762003003

Cr-Commit-Position: refs/heads/master@{#306224}
chrome/browser/services/gcm/push_messaging_service_impl.cc
chrome/browser/services/gcm/push_messaging_service_impl.h
content/browser/push_messaging/push_messaging_message_filter.cc
content/browser/push_messaging/push_messaging_message_filter.h
content/public/browser/push_messaging_service.h