OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WebPushPermissionStatus_h | 5 #ifndef WebPushPermissionStatus_h |
6 #define WebPushPermissionStatus_h | 6 #define WebPushPermissionStatus_h |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 enum WebPushPermissionStatus { | 10 enum WebPushPermissionStatus { |
11 WebPushPermissionStatusGranted = 0, | 11 WebPushPermissionStatusGranted = 0, |
12 WebPushPermissionStatusDenied, | 12 WebPushPermissionStatusDenied, |
13 WebPushPermissionStatusDefault, | 13 WebPushPermissionStatusDefault, |
14 | 14 |
15 // Used for IPC message range checks. | 15 // Used for IPC message range checks. |
16 WebPushPermissionStatusLast = WebPushPermissionStatusDefault | 16 WebPushPermissionStatusLast = WebPushPermissionStatusDefault |
17 }; | 17 }; |
18 | 18 |
19 } // namespace blink | 19 } // namespace blink |
20 #endif // WebPushPermissionStatus_h | 20 #endif // WebPushPermissionStatus_h |
OLD | NEW |