| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <jni.h> | 5 #include <jni.h> |
| 6 | 6 |
| 7 #include "android_webview/native/aw_assets.h" | 7 #include "android_webview/native/public/aw_assets.h" |
| 8 | 8 |
| 9 #include "base/android/jni_array.h" | 9 #include "base/android/jni_array.h" |
| 10 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
| 11 #include "base/android/scoped_java_ref.h" | 11 #include "base/android/scoped_java_ref.h" |
| 12 #include "jni/AwAssets_jni.h" | 12 #include "jni/AwAssets_jni.h" |
| 13 | 13 |
| 14 namespace android_webview { | 14 namespace android_webview { |
| 15 namespace AwAssets { | 15 namespace AwAssets { |
| 16 | 16 |
| 17 bool OpenAsset(const std::string& filename, | 17 bool OpenAsset(const std::string& filename, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 46 return result; | 46 return result; |
| 47 } | 47 } |
| 48 | 48 |
| 49 } // namespace AwAssets | 49 } // namespace AwAssets |
| 50 | 50 |
| 51 bool RegisterAwAssets(JNIEnv* env) { | 51 bool RegisterAwAssets(JNIEnv* env) { |
| 52 return RegisterNativesImpl(env); | 52 return RegisterNativesImpl(env); |
| 53 } | 53 } |
| 54 | 54 |
| 55 } // namespace android_webview | 55 } // namespace android_webview |
| OLD | NEW |