Popular sites on the NTP: Try to keep the ordering constant
[chromium-blink-merge.git] / content / public / browser / permission_type.h
blob5e4676f3dbdee823af1bda3f26c0bc164a530ddb
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.
5 #ifndef CONTENT_PUBLIC_BROWSER_PERMISSION_TYPE_H_
6 #define CONTENT_PUBLIC_BROWSER_PERMISSION_TYPE_H_
8 namespace content {
10 // This enum is also used for UMA purposes, so it needs to adhere to
11 // the UMA guidelines.
12 // Make sure you update histograms.xml if you add new permission types.
13 // Never delete or reorder an entry; only add new entries
14 // immediately before PermissionType::NUM
15 enum class PermissionType {
16 MIDI_SYSEX = 1,
17 PUSH_MESSAGING = 2,
18 NOTIFICATIONS = 3,
19 GEOLOCATION = 4,
20 PROTECTED_MEDIA_IDENTIFIER = 5,
21 MIDI = 6,
22 DURABLE_STORAGE = 7,
24 // Always keep this at the end.
25 NUM,
28 } // namespace content
30 #endif // CONTENT_PUBLIC_BROWSER_PERMISSION_TYPE_H_