Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_STUB_ALERT_DISPATCHER_ | |
| 6 #define CHROME_BROWSER_NOTIFICATIONS_STUB_ALERT_DISPATCHER_ | |
| 7 | |
| 8 #import <Foundation/Foundation.h> | |
| 9 | |
| 10 #import "chrome/browser/notifications/alert_dispatcher.h" | |
| 11 | |
| 12 @interface StubAlertDispatcher : NSObject<AlertDispatcher> | |
| 13 | |
| 14 - (void)dispatchNotification:(NSDictionary*)data; | |
| 15 | |
| 16 - (void)closeNotificationWithId:(NSString*)notificationId | |
| 17 withProfileId:(NSString*)profileId; | |
| 18 | |
| 19 - (void)closeAllNotifications; | |
| 20 | |
| 21 // stub specific methods | |
|
Robert Sesek
2016/11/07 17:51:18
nit: Comments should have proper capitalization an
Miguel Garcia
2016/11/10 12:46:52
Done.
| |
| 22 - (NSArray*)getAlerts; | |
| 23 | |
| 24 @end | |
| 25 | |
| 26 #endif // CHROME_BROWSER_NOTIFICATIONS_STUB_ALERT_DISPATCHER_ | |
| OLD | NEW |