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_RENDERER_PUSH_MESSAGING_PUSH_MESSAGING_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_PUSH_MESSAGING_PUSH_MESSAGING_DISPATCHER_H_ |
6 #define CONTENT_RENDERER_PUSH_MESSAGING_PUSH_MESSAGING_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_PUSH_MESSAGING_PUSH_MESSAGING_DISPATCHER_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 "content/public/common/push_messaging_status.h" | 11 #include "content/public/common/push_messaging_status.h" |
12 #include "content/public/renderer/render_frame_observer.h" | 12 #include "content/public/renderer/render_frame_observer.h" |
13 #include "third_party/WebKit/public/platform/WebPushClient.h" | 13 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushClien
t.h" |
14 #include "third_party/WebKit/public/platform/WebPushPermissionStatus.h" | 14 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushPermi
ssionStatus.h" |
15 | 15 |
16 class GURL; | 16 class GURL; |
17 | 17 |
18 namespace IPC { | 18 namespace IPC { |
19 class Message; | 19 class Message; |
20 } // namespace IPC | 20 } // namespace IPC |
21 | 21 |
22 namespace content { | 22 namespace content { |
23 | 23 |
24 struct Manifest; | 24 struct Manifest; |
(...skipping 27 matching lines...) Expand all Loading... |
52 | 52 |
53 IDMap<blink::WebPushRegistrationCallbacks, IDMapOwnPointer> | 53 IDMap<blink::WebPushRegistrationCallbacks, IDMapOwnPointer> |
54 registration_callbacks_; | 54 registration_callbacks_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(PushMessagingDispatcher); | 56 DISALLOW_COPY_AND_ASSIGN(PushMessagingDispatcher); |
57 }; | 57 }; |
58 | 58 |
59 } // namespace content | 59 } // namespace content |
60 | 60 |
61 #endif // CONTENT_RENDERER_PUSH_MESSAGING_PUSH_MESSAGING_DISPATCHER_H_ | 61 #endif // CONTENT_RENDERER_PUSH_MESSAGING_PUSH_MESSAGING_DISPATCHER_H_ |
OLD | NEW |