| Index: chrome/browser/android/intercept_download_resource_throttle.cc
|
| diff --git a/chrome/browser/android/intercept_download_resource_throttle.cc b/chrome/browser/android/intercept_download_resource_throttle.cc
|
| index 721ed3d9b6859ccbb397e059c8aff33ed4e9fb1d..87dbdab4b1cf2cb94532f9bc8bf97ec67c947e55 100644
|
| --- a/chrome/browser/android/intercept_download_resource_throttle.cc
|
| +++ b/chrome/browser/android/intercept_download_resource_throttle.cc
|
| @@ -13,9 +13,6 @@
|
|
|
| namespace chrome {
|
|
|
| -static const char kOmaDrmContentMime[] = "application/vnd.oma.drm.content";
|
| -static const char kOmaDrmMessageMime[] = "application/vnd.oma.drm.message";
|
| -
|
| InterceptDownloadResourceThrottle::InterceptDownloadResourceThrottle(
|
| net::URLRequest* request,
|
| int render_process_id,
|
| @@ -70,13 +67,6 @@ void InterceptDownloadResourceThrottle::ProcessDownloadRequest() {
|
| #endif
|
| }
|
|
|
| - // For OMA DRM downloads, Android Download Manager doesn't handle them
|
| - // correctly. Use chromium network stack instead. http://crbug.com/382698.
|
| - std::string mime;
|
| - request_->GetMimeType(&mime);
|
| - if (!mime.compare(kOmaDrmContentMime) || !mime.compare(kOmaDrmMessageMime))
|
| - return;
|
| -
|
| content::DownloadControllerAndroid::Get()->CreateGETDownload(
|
| render_process_id_, render_view_id_, request_id_);
|
| controller()->Cancel();
|
|
|