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_PROVIDER_H_ | 5 #ifndef CONTENT_CHILD_PUSH_MESSAGING_PUSH_PROVIDER_H_ |
6 #define CONTENT_CHILD_PUSH_MESSAGING_PUSH_PROVIDER_H_ | 6 #define CONTENT_CHILD_PUSH_MESSAGING_PUSH_PROVIDER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/id_map.h" | 12 #include "base/id_map.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "content/child/push_messaging/push_dispatcher.h" | 15 #include "content/child/push_messaging/push_dispatcher.h" |
15 #include "content/public/child/worker_thread.h" | 16 #include "content/public/child/worker_thread.h" |
16 #include "content/public/common/push_messaging_status.h" | 17 #include "content/public/common/push_messaging_status.h" |
17 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushError
.h" | 18 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushError
.h" |
18 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushProvi
der.h" | 19 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushProvi
der.h" |
19 | 20 |
20 class GURL; | 21 class GURL; |
21 | 22 |
22 namespace blink { | 23 namespace blink { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 // the callbacks. | 103 // the callbacks. |
103 IDMap<blink::WebPushUnsubscribeCallbacks, IDMapOwnPointer> | 104 IDMap<blink::WebPushUnsubscribeCallbacks, IDMapOwnPointer> |
104 unsubscribe_callbacks_; | 105 unsubscribe_callbacks_; |
105 | 106 |
106 DISALLOW_COPY_AND_ASSIGN(PushProvider); | 107 DISALLOW_COPY_AND_ASSIGN(PushProvider); |
107 }; | 108 }; |
108 | 109 |
109 } // namespace content | 110 } // namespace content |
110 | 111 |
111 #endif // CONTENT_CHILD_PUSH_MESSAGING_PUSH_PROVIDER_H_ | 112 #endif // CONTENT_CHILD_PUSH_MESSAGING_PUSH_PROVIDER_H_ |
OLD | NEW |