Chromium Code Reviews| Index: chrome/browser/notifications/stub_alert_dispatcher_mac.h |
| diff --git a/chrome/browser/notifications/stub_alert_dispatcher_mac.h b/chrome/browser/notifications/stub_alert_dispatcher_mac.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bf08e22acc0b24ccfdb51194ea63d8ea63947efd |
| --- /dev/null |
| +++ b/chrome/browser/notifications/stub_alert_dispatcher_mac.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_NOTIFICATIONS_STUB_ALERT_DISPATCHER_ |
| +#define CHROME_BROWSER_NOTIFICATIONS_STUB_ALERT_DISPATCHER_ |
| + |
| +#import <Foundation/Foundation.h> |
| + |
| +#import "chrome/browser/notifications/alert_dispatcher.h" |
| + |
| +@interface StubAlertDispatcher : NSObject<AlertDispatcher> |
| + |
| +- (void)dispatchNotification:(NSDictionary*)data; |
| + |
| +- (void)closeNotificationWithId:(NSString*)notificationId |
| + withProfileId:(NSString*)profileId; |
| + |
| +- (void)closeAllNotifications; |
| + |
| +// Stub specific methods. |
| +- (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.
|
| + |
| +@end |
| + |
| +#endif // CHROME_BROWSER_NOTIFICATIONS_STUB_ALERT_DISPATCHER_ |