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_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_ |
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "content/public/browser/platform_notification_service.h" | 15 #include "content/public/browser/platform_notification_service.h" |
15 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati
onPermission.h" | 16 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati
onPermission.h" |
16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
17 | 18 |
18 namespace content { | 19 namespace content { |
19 | 20 |
20 class DesktopNotificationDelegate; | 21 class DesktopNotificationDelegate; |
21 struct PlatformNotificationData; | 22 struct PlatformNotificationData; |
22 | 23 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 std::map<std::string, std::string> replacements_; | 88 std::map<std::string, std::string> replacements_; |
88 | 89 |
89 base::WeakPtrFactory<LayoutTestNotificationManager> weak_factory_; | 90 base::WeakPtrFactory<LayoutTestNotificationManager> weak_factory_; |
90 | 91 |
91 DISALLOW_COPY_AND_ASSIGN(LayoutTestNotificationManager); | 92 DISALLOW_COPY_AND_ASSIGN(LayoutTestNotificationManager); |
92 }; | 93 }; |
93 | 94 |
94 } // content | 95 } // content |
95 | 96 |
96 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_ | 97 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_ |
OLD | NEW |