Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: chrome/browser/notifications/stub_alert_dispatcher_mac.h

Issue 2479143003: Add tests for the XPC client. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698