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

Unified Diff: Source/core/html/HTMLMediaElement.h

Issue 893123004: Check origin before providing initData in encrypted event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: split test Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLMediaElement.h
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
index 0dc35da799e764dd5957c78ea24b0b20ee1aa8b5..ce5af85df0825f0bf54a42753d4fe33259e3ff93 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -281,6 +281,9 @@ public:
enum InvalidURLAction { DoNothing, Complain };
bool isSafeToLoadURL(const KURL&, InvalidURLAction);
+ // Checks to see if current media data is CORS-same-origin as |origin|.
ddorwin 2015/02/07 01:59:01 |origin| doesn't exist. perhaps "the specified ori
jrummell 2015/02/07 02:11:47 Done.
+ bool isMediaDataCORSSameOrigin(SecurityOrigin*) const;
+
MediaController* controller() const;
void setController(PassRefPtrWillBeRawPtr<MediaController>); // Resets the MediaGroup and sets the MediaController.

Powered by Google App Engine
This is Rietveld 408576698