OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_TRANSLATE_UTILS_H_ |
| 6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_TRANSLATE_UTILS_H_ |
| 7 |
| 8 #include "base/android/jni_android.h" |
| 9 #include "base/android/scoped_java_ref.h" |
| 10 |
| 11 namespace translate { |
| 12 class TranslateInfoBarDelegate; |
| 13 } |
| 14 |
| 15 class TranslateUtils { |
| 16 public: |
| 17 static base::android::ScopedJavaLocalRef<jobjectArray> GetJavaLanguages( |
| 18 JNIEnv* env, |
| 19 translate::TranslateInfoBarDelegate* delegate); |
| 20 static base::android::ScopedJavaLocalRef<jobjectArray> GetJavaLanguageCodes( |
| 21 JNIEnv* env, |
| 22 translate::TranslateInfoBarDelegate* delegate); |
| 23 }; |
| 24 |
| 25 #endif |
OLD | NEW |