Index: chrome/browser/extensions/api/notification/notification_api.h |
diff --git a/chrome/browser/extensions/api/notification/notification_api.h b/chrome/browser/extensions/api/notification/notification_api.h |
index 37adb314829e9017b80bc4299b71ff10a82cd15e..c889b9f14465b31aac98ac58895e7659091d4126 100644 |
--- a/chrome/browser/extensions/api/notification/notification_api.h |
+++ b/chrome/browser/extensions/api/notification/notification_api.h |
@@ -5,12 +5,13 @@ |
#ifndef CHROME_BROWSER_EXTENSIONS_API_NOTIFICATION_NOTIFICATION_API_H_ |
#define CHROME_BROWSER_EXTENSIONS_API_NOTIFICATION_NOTIFICATION_API_H_ |
+#include <string> |
+ |
#include "base/memory/ref_counted.h" |
#include "chrome/browser/extensions/api/api_function.h" |
#include "chrome/browser/extensions/extension_function.h" |
#include "chrome/common/extensions/api/experimental_notification.h" |
- |
-#include <string> |
+#include "ui/notifications/notification_types.h" |
namespace extensions { |
@@ -22,6 +23,8 @@ class NotificationApiFunction : public ApiFunction { |
void CreateNotification( |
const std::string& id, |
api::experimental_notification::NotificationOptions* options); |
+ ui::notifications::NotificationType MapApiTemplateTypeToType( |
+ api::experimental_notification::TemplateType type); |
}; |
class NotificationCreateFunction : public NotificationApiFunction { |