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_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_PUSH_MESSAGING_PUSH_MESSAGING_DISPATCHER_H_ |
6 #define CONTENT_RENDERER_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/WebPushClient.h" |
14 #include "third_party/WebKit/public/platform/WebPushPermissionStatus.h" | 14 #include "third_party/WebKit/public/platform/WebPushPermissionStatus.h" |
15 | 15 |
16 class GURL; | 16 class GURL; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 PushRegistrationStatus status); | 51 PushRegistrationStatus status); |
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_DISPATCHER_H_ | 61 #endif // CONTENT_RENDERER_PUSH_MESSAGING_PUSH_MESSAGING_DISPATCHER_H_ |
OLD | NEW |