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

Unified Diff: trunk/src/content/browser/media/android/browser_media_player_manager.cc

Issue 192283002: Revert 255858 "Simplify the user agent code some more since afte..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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: trunk/src/content/browser/media/android/browser_media_player_manager.cc
===================================================================
--- trunk/src/content/browser/media/android/browser_media_player_manager.cc (revision 255866)
+++ trunk/src/content/browser/media/android/browser_media_player_manager.cc (working copy)
@@ -76,7 +76,7 @@
BrowserDemuxerAndroid* demuxer) {
switch (type) {
case MEDIA_PLAYER_TYPE_URL: {
- const std::string user_agent = GetContentClient()->GetUserAgent();
+ const std::string user_agent = GetUserAgent(url);
MediaPlayerBridge* media_player_bridge = new MediaPlayerBridge(
player_id,
url,
« no previous file with comments | « trunk/src/content/browser/devtools/devtools_http_handler_impl.cc ('k') | trunk/src/content/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698