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

Side by Side Diff: content/common/permission_service.mojom

Issue 1832813002: Add mojom module suffix in .mojom files in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Tom's comment Created 4 years, 8 months 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
« no previous file with comments | « content/common/leveldb_wrapper.mojom ('k') | content/common/storage_partition_service.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 module content; 5 module content.mojom;
6 6
7 import "content/public/common/permission_status.mojom"; 7 import "content/public/common/permission_status.mojom";
8 8
9 enum PermissionName { 9 enum PermissionName {
10 GEOLOCATION, 10 GEOLOCATION,
11 NOTIFICATIONS, 11 NOTIFICATIONS,
12 PUSH_NOTIFICATIONS, 12 PUSH_NOTIFICATIONS,
13 MIDI, 13 MIDI,
14 MIDI_SYSEX, 14 MIDI_SYSEX,
15 PROTECTED_MEDIA_IDENTIFIER, 15 PROTECTED_MEDIA_IDENTIFIER,
(...skipping 17 matching lines...) Expand all
33 33
34 // Runs the callback next time there is a permission status change for the 34 // Runs the callback next time there is a permission status change for the
35 // given { permission, origin }. Callers of this method will have to call it 35 // given { permission, origin }. Callers of this method will have to call it
36 // again if they want to keep listening to the changes. To prevent race 36 // again if they want to keep listening to the changes. To prevent race
37 // conditions, the caller must pass the last known value. 37 // conditions, the caller must pass the last known value.
38 GetNextPermissionChange(PermissionName permission, 38 GetNextPermissionChange(PermissionName permission,
39 string origin, 39 string origin,
40 PermissionStatus last_known_status) 40 PermissionStatus last_known_status)
41 => (PermissionStatus status); 41 => (PermissionStatus status);
42 }; 42 };
OLDNEW
« no previous file with comments | « content/common/leveldb_wrapper.mojom ('k') | content/common/storage_partition_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698