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

Side by Side Diff: content/public/browser/permission_type.h

Issue 622793002: Group the different permission related methods in the content api. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698