| 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_PROVIDER_H_ |
| 6 #define CONTENT_CHILD_PUSH_MESSAGING_PUSH_MANAGER_H_ | 6 #define CONTENT_CHILD_PUSH_MESSAGING_PUSH_PROVIDER_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 "content/public/common/push_messaging_status.h" |
| 15 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushError
.h" | 15 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushError
.h" |
| 16 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushProvi
der.h" | 16 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushProvi
der.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 // Stores the unregistration callbacks with their request ids. This class owns | 85 // Stores the unregistration callbacks with their request ids. This class owns |
| 86 // the callbacks. | 86 // the callbacks. |
| 87 IDMap<blink::WebPushUnregisterCallbacks, IDMapOwnPointer> | 87 IDMap<blink::WebPushUnregisterCallbacks, IDMapOwnPointer> |
| 88 unregister_callbacks_; | 88 unregister_callbacks_; |
| 89 | 89 |
| 90 DISALLOW_COPY_AND_ASSIGN(PushProvider); | 90 DISALLOW_COPY_AND_ASSIGN(PushProvider); |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 } // namespace content | 93 } // namespace content |
| 94 | 94 |
| 95 #endif // CONTENT_CHILD_PUSH_MESSAGING_PUSH_MANAGER_H_ | 95 #endif // CONTENT_CHILD_PUSH_MESSAGING_PUSH_PROVIDER_H_ |
| OLD | NEW |