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

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

Issue 2730853002: Add UMA logging to track bad MIME types passed to HTMLMediaElement (Closed)
Patch Set: changes (+rebase) Created 3 years, 9 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: third_party/WebKit/Source/core/html/HTMLMediaElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
index 3d4b4c86ee81d18bde363883fbdb2364ab1a3b23..de0b89cdd0a16f13c24ba97e477f2bcf44cc60b2 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
@@ -428,7 +428,7 @@ class CORE_EXPORT HTMLMediaElement
void invokeResourceSelectionAlgorithm();
void loadInternal();
void selectMediaResource();
- void loadResource(const WebMediaPlayerSource&, const ContentType&);
+ void loadResource(const WebMediaPlayerSource&, const String& contentType);
void startPlayerLoad(const KURL& playerProvidedUrl = KURL());
void setPlayerPreload();
WebMediaPlayer::LoadType loadType() const;
@@ -445,7 +445,7 @@ class CORE_EXPORT HTMLMediaElement
void waitForSourceChange();
void setIgnorePreloadNone();
- KURL selectNextSourceChild(ContentType*, InvalidURLAction);
+ KURL selectNextSourceChild(String* contentType, InvalidURLAction);
void mediaLoadingFailed(WebMediaPlayer::NetworkState);

Powered by Google App Engine
This is Rietveld 408576698