Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: third_party/WebKit/public/platform/modules/permissions/WebPermissionType.h

Issue 2458453002: [sensors] Add Permission guard to the generic sensor apis.
Patch Set: Fix mikhail's comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 WebPermissionType_h 5 #ifndef WebPermissionType_h
6 #define WebPermissionType_h 6 #define WebPermissionType_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 enum WebPermissionType { 10 enum WebPermissionType {
11 WebPermissionTypeGeolocation, 11 WebPermissionTypeGeolocation,
12 WebPermissionTypeNotifications, 12 WebPermissionTypeNotifications,
13 WebPermissionTypePush, 13 WebPermissionTypePush,
14 WebPermissionTypePushNotifications, 14 WebPermissionTypePushNotifications,
15 WebPermissionTypeMidi, 15 WebPermissionTypeMidi,
16 WebPermissionTypeMidiSysEx, 16 WebPermissionTypeMidiSysEx,
17 WebPermissionTypeDurableStorage, 17 WebPermissionTypeDurableStorage,
18 WebPermissionTypeBackgroundSync, 18 WebPermissionTypeBackgroundSync,
19 WebPermissionTypeSensors,
19 20
20 WebPermissionTypeLast, 21 WebPermissionTypeLast,
21 }; 22 };
22 23
23 } // namespace blink 24 } // namespace blink
24 25
25 #endif // WebPermissionType_h 26 #endif // WebPermissionType_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698