| 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 CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_H_ |
| 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 void RegisterFromWorker( | 32 void RegisterFromWorker( |
| 33 const GURL& requesting_origin, | 33 const GURL& requesting_origin, |
| 34 int64 service_worker_registration_id, | 34 int64 service_worker_registration_id, |
| 35 const std::string& sender_id, | 35 const std::string& sender_id, |
| 36 bool user_visible, | 36 bool user_visible, |
| 37 const PushMessagingService::RegisterCallback& callback) override; | 37 const PushMessagingService::RegisterCallback& callback) override; |
| 38 blink::WebPushPermissionStatus GetPermissionStatus( | 38 blink::WebPushPermissionStatus GetPermissionStatus( |
| 39 const GURL& requesting_origin, | 39 const GURL& requesting_origin, |
| 40 const GURL& embedding_origin, | 40 const GURL& embedding_origin, |
| 41 bool user_visible) override; | 41 bool user_visible) override; |
| 42 bool SupportNonVisibleMessages() override; |
| 42 void Unregister(const GURL& requesting_origin, | 43 void Unregister(const GURL& requesting_origin, |
| 43 int64 service_worker_registration_id, | 44 int64 service_worker_registration_id, |
| 44 const std::string& sender_id, | 45 const std::string& sender_id, |
| 45 const UnregisterCallback& callback) override; | 46 const UnregisterCallback& callback) override; |
| 46 | 47 |
| 47 private: | 48 private: |
| 48 DISALLOW_COPY_AND_ASSIGN(LayoutTestPushMessagingService); | 49 DISALLOW_COPY_AND_ASSIGN(LayoutTestPushMessagingService); |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 } // namespace content | 52 } // namespace content |
| 52 | 53 |
| 53 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_
H_ | 54 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_
H_ |
| OLD | NEW |