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_CHILD_PUSH_MESSAGING_PUSH_MANAGER_H_ | 5 #ifndef CONTENT_CHILD_PUSH_MESSAGING_PUSH_MANAGER_H_ |
6 #define CONTENT_CHILD_PUSH_MESSAGING_PUSH_MANAGER_H_ | 6 #define CONTENT_CHILD_PUSH_MESSAGING_PUSH_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/id_map.h" | 10 #include "base/id_map.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "content/child/push_messaging/push_dispatcher.h" | 12 #include "content/child/push_messaging/push_dispatcher.h" |
13 #include "content/child/worker_task_runner.h" | 13 #include "content/child/worker_task_runner.h" |
| 14 #include "content/public/common/push_messaging_status.h" |
14 #include "third_party/WebKit/public/platform/WebPushError.h" | 15 #include "third_party/WebKit/public/platform/WebPushError.h" |
15 #include "third_party/WebKit/public/platform/WebPushProvider.h" | 16 #include "third_party/WebKit/public/platform/WebPushProvider.h" |
16 | 17 |
17 class GURL; | 18 class GURL; |
18 | 19 |
19 namespace content { | 20 namespace content { |
20 | 21 |
21 class ThreadSafeSender; | 22 class ThreadSafeSender; |
22 | 23 |
23 class PushProvider : public blink::WebPushProvider, | 24 class PushProvider : public blink::WebPushProvider, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 // the callbacks. | 86 // the callbacks. |
86 IDMap<blink::WebPushUnregisterCallbacks, IDMapOwnPointer> | 87 IDMap<blink::WebPushUnregisterCallbacks, IDMapOwnPointer> |
87 unregister_callbacks_; | 88 unregister_callbacks_; |
88 | 89 |
89 DISALLOW_COPY_AND_ASSIGN(PushProvider); | 90 DISALLOW_COPY_AND_ASSIGN(PushProvider); |
90 }; | 91 }; |
91 | 92 |
92 } // namespace content | 93 } // namespace content |
93 | 94 |
94 #endif // CONTENT_CHILD_PUSH_MESSAGING_PUSH_MANAGER_H_ | 95 #endif // CONTENT_CHILD_PUSH_MESSAGING_PUSH_MANAGER_H_ |
OLD | NEW |