Index: content/common/notification_constants.h |
diff --git a/content/common/notification_constants.h b/content/common/notification_constants.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e0995b7ec6c4828305ee63fccb9f4e604c8e1f7e |
--- /dev/null |
+++ b/content/common/notification_constants.h |
@@ -0,0 +1,16 @@ |
+// Copyright 2015 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 CONTENT_COMMON_NOTIFICATION_CONSTANTS_H_ |
+#define CONTENT_COMMON_NOTIFICATION_CONSTANTS_H_ |
+ |
+namespace content { |
+ |
+// All known content embedders that support web notifications support up to 2 |
Peter Beverloo
2015/07/31 19:17:51
// Maximum number of actions on a Platform Notific
johnme
2015/07/31 19:38:24
Done.
|
+// actions. |
+static const size_t kPlatformNotificationMaxActions = 2; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_COMMON_NOTIFICATION_CONSTANTS_H_ |