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 |
| +}; |
| + |
| +} // namespace blink |
|
Peter Beverloo
2014/10/23 11:33:37
nit: empty line after this.
|
| +#endif // WebPushPermissionStatus_h |