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

Unified Diff: content/renderer/media/android/media_info_loader.cc

Issue 392333004: Drop 'WebURLRequest::setTargetType' from various content/renderer files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pepper_url_loader_host Created 6 years, 5 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
« no previous file with comments | « no previous file | content/renderer/media/buffered_resource_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/media_info_loader.cc
diff --git a/content/renderer/media/android/media_info_loader.cc b/content/renderer/media/android/media_info_loader.cc
index 8a49e04087fc11c5f4c7014fdb65f0ab21351fdc..a89356f2cf788eebf3b0caa0635420bf36ed3374 100644
--- a/content/renderer/media/android/media_info_loader.cc
+++ b/content/renderer/media/android/media_info_loader.cc
@@ -44,7 +44,8 @@ void MediaInfoLoader::Start(blink::WebFrame* frame) {
// Prepare the request.
WebURLRequest request(url_);
- request.setTargetType(WebURLRequest::TargetIsMedia);
+ // TODO(mkwst): Split this into video/audio.
+ request.setRequestContext(WebURLRequest::RequestContextVideo);
frame->setReferrerForRequest(request, blink::WebURL());
scoped_ptr<WebURLLoader> loader;
« no previous file with comments | « no previous file | content/renderer/media/buffered_resource_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698