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

Side by Side Diff: chrome/browser/chromeos/notifications/system_notification_factory.h

Issue 10947046: Eliminate kAshNotifyDisabled and SystemNotification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nit Created 8 years, 3 months 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 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_CHROMEOS_NOTIFICATIONS_SYSTEM_NOTIFICATION_FACTORY_H_
6 #define CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_SYSTEM_NOTIFICATION_FACTORY_H_
7
8 #include "base/basictypes.h"
9 #include "chrome/browser/notifications/notification.h"
10
11 class GURL;
12 class NotificationDelegate;
13
14 namespace chromeos {
15
16 // A utility class for system notifications.
17 class SystemNotificationFactory {
18 public:
19
20 // Creates a system notification.
21 static Notification Create(
22 const GURL& icon, const string16& title,
23 const string16& text,
24 NotificationDelegate* delegate);
25
26 // Creates a system notification with a footer link.
27 static Notification Create(
28 const GURL& icon, const string16& title,
29 const string16& text, const string16& link,
30 NotificationDelegate* delegate);
31 };
32
33 } // namespace chromeos
34
35 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_SYSTEM_NOTIFICATION_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698