OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
Peter Beverloo
2014/10/24 14:37:28
nit: empty line under this one.
Miguel Garcia
2014/10/24 16:05:32
Done.
| |
4 #ifndef CONTENT_PUBLIC_BROWSER_PERMISSION_TYPE_H_ | |
5 #define CONTENT_PUBLIC_BROWSER_PERMISSION_TYPE_H_ | |
6 | |
7 namespace content { | |
8 | |
9 // This enum is also used for UMA purposes, so it needs to adhere to | |
10 // the UMA guidelines. | |
11 // Make sure you update histograms.xml if you add new permission types. | |
12 // Never delete or reorder an entry; only add new entries | |
13 // immediately before PERMISSION_NUM | |
14 enum PermissionType { | |
15 PERMISSION_MIDI_SYSEX = 1, | |
16 PERMISSION_PUSH_MESSAGING = 2, | |
17 PERMISSION_NOTIFICATIONS = 3, | |
18 PERMISSION_GEOLOCATION = 4, | |
19 PERMISSION_PROTECTED_MEDIA = 5, | |
20 | |
21 // Always keep this at the end. | |
22 PERMISSION_NUM, | |
23 }; | |
24 | |
25 } // namespace content | |
Peter Beverloo
2014/10/24 14:37:28
nit: empty line under this one.
Miguel Garcia
2014/10/24 16:05:32
Done.
| |
26 #endif // CONTENT_PUBLIC_BROWSER_PERMISSION_TYPE_H_ | |
OLD | NEW |