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