Chromium Code Reviews| Index: ui/shell_dialogs/select_file_dialog_android.h |
| diff --git a/ui/shell_dialogs/select_file_dialog_android.h b/ui/shell_dialogs/select_file_dialog_android.h |
| index a9d0d5432e7198965c4cd7c5aa8ad13cd1604ca4..9908cf9a0259b4f788ccbb9952adb9a6805f9c28 100644 |
| --- a/ui/shell_dialogs/select_file_dialog_android.h |
| +++ b/ui/shell_dialogs/select_file_dialog_android.h |
| @@ -11,6 +11,8 @@ |
| #include "base/files/file_path.h" |
| #include "ui/shell_dialogs/select_file_dialog.h" |
| +using base::android::ScopedJavaLocalRef; |
| + |
| namespace ui { |
| class SelectFileDialogImpl : public SelectFileDialog { |
| @@ -29,6 +31,9 @@ class SelectFileDialogImpl : public SelectFileDialog { |
| jobjectArray display_names); |
| void OnFileNotSelected(JNIEnv* env, jobject java_object); |
| + ScopedJavaLocalRef<jstring> GetUniqueFilePath(JNIEnv* env, |
|
qinmin
2014/09/20 05:06:58
this doesn't needs to be a member function?
Changwan Ryu
2014/09/22 14:02:38
Hmm.. This is accessed by Java. Is there any way I
qinmin
2014/10/02 17:02:48
In java side, if you declare you native call witho
|
| + jobject java_object, |
| + jstring path); |
| // From SelectFileDialog |
| virtual bool IsRunning(gfx::NativeWindow) const OVERRIDE; |