| Index: content/public/browser/browser_context.h
|
| diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
|
| index d6d89501039f59935b1939c271f38fb9c8af84ce..527184f5274428dfcb94ccd7f03760c9654052c4 100644
|
| --- a/content/public/browser/browser_context.h
|
| +++ b/content/public/browser/browser_context.h
|
| @@ -143,6 +143,22 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
|
| int bridge_id,
|
| const GURL& requesting_frame) = 0;
|
|
|
| + typedef base::Callback<void(bool)> ProtectedMediaIdentifierPermissionCallback;
|
| +
|
| + // Request permission to access protected media identifier. The callback will
|
| + // tell whether it's permitted.
|
| + virtual void RequestProtectedMediaIdentifierPermission(
|
| + int render_process_id,
|
| + int render_view_id,
|
| + int bridge_id,
|
| + int group_id,
|
| + const GURL& requesting_frame,
|
| + const ProtectedMediaIdentifierPermissionCallback& callback) = 0;
|
| +
|
| + // Cancels pending protected media identifier permission requests.
|
| + virtual void CancelProtectedMediaIdentifierPermissionRequests(
|
| + int group_id) = 0;
|
| +
|
| // Returns the resource context.
|
| virtual ResourceContext* GetResourceContext() = 0;
|
|
|
|
|