| 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 aea8a08edf8321f1cd0a9d2d449892652b891164..6ff759ce177a0bbe82da0bae6de0621a793cbe68 100644
|
| --- a/chrome/browser/services/gcm/push_messaging_service_impl.h
|
| +++ b/chrome/browser/services/gcm/push_messaging_service_impl.h
|
| @@ -48,6 +48,8 @@ class PushMessagingServiceImpl : public content::PushMessagingService,
|
| virtual void Register(
|
| const std::string& app_id,
|
| const std::string& sender_id,
|
| + const int renderer_id,
|
| + const int router_id,
|
| const content::PushMessagingService::RegisterCallback& callback) OVERRIDE;
|
|
|
| private:
|
| @@ -57,6 +59,12 @@ class PushMessagingServiceImpl : public content::PushMessagingService,
|
| const std::string& registration_id,
|
| GCMClient::Result result);
|
|
|
| + void DidRequestPermission(
|
| + const std::string& sender_id,
|
| + const std::string& app_id,
|
| + const content::PushMessagingService::RegisterCallback& callback,
|
| + bool allow);
|
| +
|
| GCMProfileService* gcm_profile_service_; // It owns us.
|
|
|
| Profile* profile_; // It owns our owner.
|
|
|