OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
gone
2017/03/24 20:34:31
2017.
ramyasharma
2017/03/27 03:36:59
Done.
| |
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 static base::android::ScopedJavaLocalRef<jstring> GetLanguageCode( | |
24 JNIEnv* env, | |
25 std::string language_code); | |
26 }; | |
27 | |
28 #endif | |
OLD | NEW |