| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_ |
| 6 #define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_ | 6 #define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 const PushMessagingAppIdentifier& app_identifier, | 161 const PushMessagingAppIdentifier& app_identifier, |
| 162 const content::PushMessagingService::RegisterCallback& callback, | 162 const content::PushMessagingService::RegisterCallback& callback, |
| 163 const std::string& subscription_id, | 163 const std::string& subscription_id, |
| 164 const std::string& p256dh, | 164 const std::string& p256dh, |
| 165 const std::string& auth_secret); | 165 const std::string& auth_secret); |
| 166 | 166 |
| 167 void DidRequestPermission( | 167 void DidRequestPermission( |
| 168 const PushMessagingAppIdentifier& app_identifier, | 168 const PushMessagingAppIdentifier& app_identifier, |
| 169 const content::PushSubscriptionOptions& options, | 169 const content::PushSubscriptionOptions& options, |
| 170 const content::PushMessagingService::RegisterCallback& callback, | 170 const content::PushMessagingService::RegisterCallback& callback, |
| 171 blink::mojom::PermissionStatus permission_status); | 171 permission::mojom::PermissionStatus permission_status); |
| 172 | 172 |
| 173 // GetEncryptionInfo method -------------------------------------------------- | 173 // GetEncryptionInfo method -------------------------------------------------- |
| 174 | 174 |
| 175 void DidGetEncryptionInfo( | 175 void DidGetEncryptionInfo( |
| 176 const PushMessagingService::EncryptionInfoCallback& callback, | 176 const PushMessagingService::EncryptionInfoCallback& callback, |
| 177 const std::string& p256dh, | 177 const std::string& p256dh, |
| 178 const std::string& auth_secret) const; | 178 const std::string& auth_secret) const; |
| 179 | 179 |
| 180 // Unsubscribe methods ------------------------------------------------------- | 180 // Unsubscribe methods ------------------------------------------------------- |
| 181 | 181 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 | 243 |
| 244 std::unique_ptr<PushMessagingServiceObserver> | 244 std::unique_ptr<PushMessagingServiceObserver> |
| 245 push_messaging_service_observer_; | 245 push_messaging_service_observer_; |
| 246 | 246 |
| 247 base::WeakPtrFactory<PushMessagingServiceImpl> weak_factory_; | 247 base::WeakPtrFactory<PushMessagingServiceImpl> weak_factory_; |
| 248 | 248 |
| 249 DISALLOW_COPY_AND_ASSIGN(PushMessagingServiceImpl); | 249 DISALLOW_COPY_AND_ASSIGN(PushMessagingServiceImpl); |
| 250 }; | 250 }; |
| 251 | 251 |
| 252 #endif // CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_ | 252 #endif // CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_ |
| OLD | NEW |