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. | |
22 - (NSArray*)getAlerts; | |
Robert Sesek
2016/11/10 23:52:41
Getters don't have a "get" prefix, so just "alerts
Miguel Garcia
2016/11/11 15:26:40
Done.
| |
23 | |
24 @end | |
25 | |
26 #endif // CHROME_BROWSER_NOTIFICATIONS_STUB_ALERT_DISPATCHER_ | |
OLD | NEW |