Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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 CONTENT_BROWSER_ANDROID_CONTENT_UTIL_H_ | |
| 6 #define CONTENT_BROWSER_ANDROID_CONTENT_UTIL_H_ | |
| 7 | |
| 8 #include <jni.h> | |
| 9 | |
| 10 #include "base/android/jni_android.h" | |
| 11 #include "base/android/scoped_java_ref.h" | |
| 12 #include "content/public/common/file_chooser_params.h" | |
| 13 | |
| 14 base::android::ScopedJavaLocalRef<jobject> ToJavaFileChooserParams( | |
|
jam
2012/06/08 23:45:09
nit: put in content namespace
| |
| 15 JNIEnv* env, | |
| 16 const content::FileChooserParams& file_chooser_params); | |
| 17 | |
| 18 content::FileChooserParams ToNativeFileChooserParams( | |
| 19 JNIEnv* env, | |
| 20 jint mode, | |
| 21 jstring title, | |
| 22 jstring default_file, | |
| 23 jobjectArray accept_types, | |
| 24 jstring capture); | |
| 25 | |
| 26 #endif // CONTENT_BROWSER_ANDROID_CONTENT_UTIL_H_ | |
| OLD | NEW |