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 #pragma once 8 9 #include "base/basictypes.h" 10 #include "chrome/browser/notifications/notification.h" 11 12 class GURL; 13 class NotificationDelegate; 14 15 namespace chromeos { 16 17 // A utility class for system notifications. 18 class SystemNotificationFactory { 19 public: 20 21 // Creates a system notification. 22 static Notification Create( 23 const GURL& icon, const string16& title, 24 const string16& text, 25 NotificationDelegate* delegate); 26 27 // Creates a system notification with a footer link. 28 static Notification Create( 29 const GURL& icon, const string16& title, 30 const string16& text, const string16& link, 31 NotificationDelegate* delegate); 32 }; 33 34 } // namespace chromeos 35 36 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_SYSTEM_NOTIFICATION_FACTORY_H_ 37