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..d859f144aea889e5efa6880c5e151063ff74aba6 |
| --- /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. |
| + WebPushPermissionTypeLast = WebPushPermissionStatusDefault |
|
Mike West
2014/10/29 12:43:02
Nit: s/WebPushPermissionTypeLast/WebPushPermission
Miguel Garcia
2014/10/29 14:47:56
Done.
|
| +}; |
| + |
| +} // namespace blink |
| +#endif // WebPushPermissionStatus_h |