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

Side by Side Diff: Source/modules/encryptedmedia/MediaKeySession.idl

Issue 568033003: Implement MediaKeySession close() and remove() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: ScriptPromise Created 6 years, 3 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 /* 1 /*
2 * Copyright (C) 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2013 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 26 matching lines...) Expand all
37 readonly attribute DOMString sessionId; 37 readonly attribute DOMString sessionId;
38 [CallWith=ScriptState] readonly attribute Promise closed; 38 [CallWith=ScriptState] readonly attribute Promise closed;
39 39
40 // session initialization 40 // session initialization
41 [CallWith=ScriptState] Promise generateRequest(DOMString initDataType, Array Buffer initData); 41 [CallWith=ScriptState] Promise generateRequest(DOMString initDataType, Array Buffer initData);
42 [CallWith=ScriptState] Promise generateRequest(DOMString initDataType, Array BufferView initData); 42 [CallWith=ScriptState] Promise generateRequest(DOMString initDataType, Array BufferView initData);
43 43
44 // session operations 44 // session operations
45 [CallWith=ScriptState] Promise update(ArrayBuffer response); 45 [CallWith=ScriptState] Promise update(ArrayBuffer response);
46 [CallWith=ScriptState] Promise update(ArrayBufferView response); 46 [CallWith=ScriptState] Promise update(ArrayBufferView response);
47 [CallWith=ScriptState] Promise release(); 47 [CallWith=ScriptState] Promise close();
48 [CallWith=ScriptState] Promise remove();
48 }; 49 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698