| 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_NOTIFICATIONS_NOTIFICATION_MANAGER_H_ | 5 #ifndef CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_MANAGER_H_ |
| 6 #define CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_MANAGER_H_ | 6 #define CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| 11 #include "base/id_map.h" | 11 #include "base/id_map.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
| 15 #include "content/child/notifications/notification_dispatcher.h" | 15 #include "content/child/notifications/notification_dispatcher.h" |
| 16 #include "content/child/notifications/notification_image_loader.h" | 16 #include "content/child/notifications/notification_image_loader.h" |
| 17 #include "content/child/worker_task_runner.h" | 17 #include "content/child/worker_task_runner.h" |
| 18 #include "third_party/WebKit/public/platform/WebNotificationManager.h" | 18 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati
onManager.h" |
| 19 | 19 |
| 20 class SkBitmap; | 20 class SkBitmap; |
| 21 | 21 |
| 22 namespace blink { | 22 namespace blink { |
| 23 class WebURL; | 23 class WebURL; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace content { | 26 namespace content { |
| 27 | 27 |
| 28 class ThreadSafeSender; | 28 class ThreadSafeSender; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 std::map<int, blink::WebNotificationDelegate*> active_notifications_; | 123 std::map<int, blink::WebNotificationDelegate*> active_notifications_; |
| 124 | 124 |
| 125 base::WeakPtrFactory<NotificationManager> weak_factory_; | 125 base::WeakPtrFactory<NotificationManager> weak_factory_; |
| 126 | 126 |
| 127 DISALLOW_COPY_AND_ASSIGN(NotificationManager); | 127 DISALLOW_COPY_AND_ASSIGN(NotificationManager); |
| 128 }; | 128 }; |
| 129 | 129 |
| 130 } // namespace content | 130 } // namespace content |
| 131 | 131 |
| 132 #endif // CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_MANAGER_H_ | 132 #endif // CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_MANAGER_H_ |
| OLD | NEW |