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

Side by Side Diff: media/mojo/interfaces/output_protection.mojom

Issue 1977173002: Rename media::interfaces to media::mojom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + chromeos files Created 4 years, 7 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 media.interfaces; 5 module media.mojom;
6 6
7 // An interface to query output protection status and enable output protection 7 // An interface to query output protection status and enable output protection
8 // on links that support it. 8 // on links that support it.
9 9
10 interface OutputProtection { 10 interface OutputProtection {
11 enum ProtectionType { 11 enum ProtectionType {
12 NONE = 0, 12 NONE = 0,
13 HDCP = 1, 13 HDCP = 1,
14 }; 14 };
15 15
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // Protections will be disabled if no longer desired by all instances. 47 // Protections will be disabled if no longer desired by all instances.
48 // 48 //
49 // - desired_protection_mask: The desired protection methods, which 49 // - desired_protection_mask: The desired protection methods, which
50 // is a bit-mask of the ProtectionType values. 50 // is a bit-mask of the ProtectionType values.
51 // - success: True when the protection request has been made. This may be 51 // - success: True when the protection request has been made. This may be
52 // before the protection have actually been applied. Call QueryStatus() to 52 // before the protection have actually been applied. Call QueryStatus() to
53 // get protection status. False if it failed to make the protection request, 53 // get protection status. False if it failed to make the protection request,
54 // and in this case there is no need to call QueryStatus(). 54 // and in this case there is no need to call QueryStatus().
55 EnableProtection(uint32 desired_protection_mask) => (bool success); 55 EnableProtection(uint32 desired_protection_mask) => (bool success);
56 }; 56 };
OLDNEW
« no previous file with comments | « media/mojo/interfaces/media_types.mojom ('k') | media/mojo/interfaces/platform_verification.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698