| 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 <stdint.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <set> | 11 #include <set> |
| 10 | 12 |
| 13 #include "base/macros.h" |
| 11 #include "content/public/browser/push_messaging_service.h" | 14 #include "content/public/browser/push_messaging_service.h" |
| 12 #include "content/public/common/push_messaging_status.h" | 15 #include "content/public/common/push_messaging_status.h" |
| 13 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushPermi
ssionStatus.h" | 16 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushPermi
ssionStatus.h" |
| 14 | 17 |
| 15 namespace content { | 18 namespace content { |
| 16 | 19 |
| 17 class LayoutTestPushMessagingService : public PushMessagingService { | 20 class LayoutTestPushMessagingService : public PushMessagingService { |
| 18 public: | 21 public: |
| 19 LayoutTestPushMessagingService(); | 22 LayoutTestPushMessagingService(); |
| 20 ~LayoutTestPushMessagingService() override; | 23 ~LayoutTestPushMessagingService() override; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 49 const std::string& sender_id, | 52 const std::string& sender_id, |
| 50 const UnregisterCallback& callback) override; | 53 const UnregisterCallback& callback) override; |
| 51 | 54 |
| 52 private: | 55 private: |
| 53 DISALLOW_COPY_AND_ASSIGN(LayoutTestPushMessagingService); | 56 DISALLOW_COPY_AND_ASSIGN(LayoutTestPushMessagingService); |
| 54 }; | 57 }; |
| 55 | 58 |
| 56 } // namespace content | 59 } // namespace content |
| 57 | 60 |
| 58 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_
H_ | 61 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_
H_ |
| OLD | NEW |