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

Unified Diff: chrome/browser/extensions/api/notification/notification_api.h

Issue 12221127: Actually prevent sending notifications from apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
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..41cab45b5a0f30b740bb9b70d64934e98225ad23 100644
--- a/chrome/browser/extensions/api/notification/notification_api.h
+++ b/chrome/browser/extensions/api/notification/notification_api.h
@@ -22,6 +22,8 @@ class NotificationApiFunction : public ApiFunction {
void CreateNotification(
const std::string& id,
api::experimental_notification::NotificationOptions* options);
+
+ bool IsNotificationApiEnabled();
};
class NotificationCreateFunction : public NotificationApiFunction {

Powered by Google App Engine
This is Rietveld 408576698