| 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> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 void DisplayNotification( | 50 void DisplayNotification( |
| 51 BrowserContext* browser_context, | 51 BrowserContext* browser_context, |
| 52 const GURL& origin, | 52 const GURL& origin, |
| 53 const PlatformNotificationData& notification_data, | 53 const PlatformNotificationData& notification_data, |
| 54 const NotificationResources& notification_resources, | 54 const NotificationResources& notification_resources, |
| 55 std::unique_ptr<DesktopNotificationDelegate> delegate, | 55 std::unique_ptr<DesktopNotificationDelegate> delegate, |
| 56 base::Closure* cancel_callback) override; | 56 base::Closure* cancel_callback) override; |
| 57 void DisplayPersistentNotification( | 57 void DisplayPersistentNotification( |
| 58 BrowserContext* browser_context, | 58 BrowserContext* browser_context, |
| 59 int64_t persistent_notification_id, | 59 int64_t persistent_notification_id, |
| 60 const GURL& service_worker_scope, |
| 60 const GURL& origin, | 61 const GURL& origin, |
| 61 const PlatformNotificationData& notification_data, | 62 const PlatformNotificationData& notification_data, |
| 62 const NotificationResources& notification_resources) override; | 63 const NotificationResources& notification_resources) override; |
| 63 void ClosePersistentNotification( | 64 void ClosePersistentNotification( |
| 64 BrowserContext* browser_context, | 65 BrowserContext* browser_context, |
| 65 int64_t persistent_notification_id) override; | 66 int64_t persistent_notification_id) override; |
| 66 bool GetDisplayedPersistentNotifications( | 67 bool GetDisplayedPersistentNotifications( |
| 67 BrowserContext* browser_context, | 68 BrowserContext* browser_context, |
| 68 std::set<std::string>* displayed_notifications) override; | 69 std::set<std::string>* displayed_notifications) override; |
| 69 | 70 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 94 std::map<std::string, std::string> replacements_; | 95 std::map<std::string, std::string> replacements_; |
| 95 | 96 |
| 96 base::WeakPtrFactory<LayoutTestNotificationManager> weak_factory_; | 97 base::WeakPtrFactory<LayoutTestNotificationManager> weak_factory_; |
| 97 | 98 |
| 98 DISALLOW_COPY_AND_ASSIGN(LayoutTestNotificationManager); | 99 DISALLOW_COPY_AND_ASSIGN(LayoutTestNotificationManager); |
| 99 }; | 100 }; |
| 100 | 101 |
| 101 } // content | 102 } // content |
| 102 | 103 |
| 103 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_ | 104 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_NOTIFICATION_MANAGER_H_ |
| OLD | NEW |