summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/extensions/api/notifications/notifications_api.cc2
-rw-r--r--ui/message_center/notification_types.h5
2 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/extensions/api/notifications/notifications_api.cc b/chrome/browser/extensions/api/notifications/notifications_api.cc
index 8bd5aee..6d2f5e1 100644
--- a/chrome/browser/extensions/api/notifications/notifications_api.cc
+++ b/chrome/browser/extensions/api/notifications/notifications_api.cc
@@ -253,7 +253,7 @@ NotificationsApiFunction::~NotificationsApiFunction() {
bool NotificationsApiFunction::CreateNotification(
const std::string& id,
api::notifications::NotificationOptions* options) {
- // First, make sure the required fields exist: type, title, message, icon.
+ // First, make sure the required fields exist: type, title, message, icon.
// These fields are defined as optional in IDL such that they can be used as
// optional for notification updates. But for notification creations, they
// should be present.
diff --git a/ui/message_center/notification_types.h b/ui/message_center/notification_types.h
index 24d1f14..88cfed2 100644
--- a/ui/message_center/notification_types.h
+++ b/ui/message_center/notification_types.h
@@ -5,9 +5,6 @@
#ifndef UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_
#define UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_
-
-#include <string>
-
#include "ui/message_center/message_center_export.h"
namespace message_center {
@@ -33,7 +30,7 @@ enum NotificationType {
NOTIFICATION_TYPE_BASE_FORMAT,
NOTIFICATION_TYPE_IMAGE,
NOTIFICATION_TYPE_MULTIPLE,
- NOTIFICATION_TYPE_PROGRESS
+ NOTIFICATION_TYPE_PROGRESS // Notification with progress bar.
};
enum NotificationPriority {