| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "media/capture/video/android/photo_capabilities.h" | 5 #include "device/capture/video/android/photo_capabilities.h" |
| 6 | 6 |
| 7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
| 8 #include "base/android/jni_array.h" | 8 #include "base/android/jni_array.h" |
| 9 #include "base/android/jni_string.h" | 9 #include "base/android/jni_string.h" |
| 10 #include "jni/PhotoCapabilities_jni.h" | 10 #include "jni/PhotoCapabilities_jni.h" |
| 11 | 11 |
| 12 using base::android::AttachCurrentThread; | 12 using base::android::AttachCurrentThread; |
| 13 | 13 |
| 14 namespace media { | 14 namespace media { |
| 15 | 15 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 36 object_.obj()); | 36 object_.obj()); |
| 37 } | 37 } |
| 38 | 38 |
| 39 int PhotoCapabilities::getCurrentZoom() const { | 39 int PhotoCapabilities::getCurrentZoom() const { |
| 40 DCHECK(!object_.is_null()); | 40 DCHECK(!object_.is_null()); |
| 41 return Java_PhotoCapabilities_getCurrentZoom(AttachCurrentThread(), | 41 return Java_PhotoCapabilities_getCurrentZoom(AttachCurrentThread(), |
| 42 object_.obj()); | 42 object_.obj()); |
| 43 } | 43 } |
| 44 | 44 |
| 45 } // namespace media | 45 } // namespace media |
| OLD | NEW |