Chromium Code Reviews| Index: public/platform/WebPushPermissionStatus.h |
| diff --git a/public/platform/WebPushPermissionStatus.h b/public/platform/WebPushPermissionStatus.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6a969a648263f79e61bbf9407590f4945103fa04 |
| --- /dev/null |
| +++ b/public/platform/WebPushPermissionStatus.h |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2014 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 WebPushPermissionStatus_h |
| +#define WebPushPermissionStatus_h |
| + |
| +namespace blink { |
| + |
| +enum WebPushPermissionStatus { |
| + WebPushPermissionStatusGranted = 0, |
| + WebPushPermissionStatusDenied, |
| + WebPushPermissionStatusDefault, |
| + |
| + // Used for IPC message range checks. |
| + PushPermissionTypeLast = WebPushPermissionStatusDefault |
|
Michael van Ouwerkerk
2014/10/24 10:36:37
Shouldn't this be WebPushPermissionTypeLast ?
Mike West
2014/10/27 15:32:11
Indeed.
Miguel Garcia
2014/10/28 11:07:00
Acknowledged.
Miguel Garcia
2014/10/28 11:07:00
Done.
|
| +}; |
| + |
| +} // namespace blink |
| +#endif // WebPushPermissionStatus_h |