OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/media/android/media_resource_getter_impl.h" | 5 #include "content/browser/media/android/media_resource_getter_impl.h" |
6 | 6 |
| 7 #include "base/android/context_utils.h" |
7 #include "base/android/jni_android.h" | 8 #include "base/android/jni_android.h" |
8 #include "base/android/jni_string.h" | 9 #include "base/android/jni_string.h" |
9 #include "base/bind.h" | 10 #include "base/bind.h" |
10 #include "base/path_service.h" | 11 #include "base/path_service.h" |
11 #include "base/threading/sequenced_worker_pool.h" | 12 #include "base/threading/sequenced_worker_pool.h" |
12 #include "content/browser/child_process_security_policy_impl.h" | 13 #include "content/browser/child_process_security_policy_impl.h" |
13 #include "content/browser/fileapi/browser_file_system_helper.h" | 14 #include "content/browser/fileapi/browser_file_system_helper.h" |
14 #include "content/browser/fileapi/chrome_blob_storage_context.h" | 15 #include "content/browser/fileapi/chrome_blob_storage_context.h" |
15 #include "content/browser/resource_context_impl.h" | 16 #include "content/browser/resource_context_impl.h" |
16 #include "content/public/browser/browser_context.h" | 17 #include "content/public/browser/browser_context.h" |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 FROM_HERE, | 373 FROM_HERE, |
373 base::Bind(&GetMediaMetadataFromFd, fd, offset, size, callback)); | 374 base::Bind(&GetMediaMetadataFromFd, fd, offset, size, callback)); |
374 } | 375 } |
375 | 376 |
376 // static | 377 // static |
377 bool MediaResourceGetterImpl::RegisterMediaResourceGetter(JNIEnv* env) { | 378 bool MediaResourceGetterImpl::RegisterMediaResourceGetter(JNIEnv* env) { |
378 return RegisterNativesImpl(env); | 379 return RegisterNativesImpl(env); |
379 } | 380 } |
380 | 381 |
381 } // namespace content | 382 } // namespace content |
OLD | NEW |