 Chromium Code Reviews
 Chromium Code Reviews Issue 10536066:
  android content shell bringup.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 10536066:
  android content shell bringup.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| Index: content/browser/android/content_util.h | 
| diff --git a/content/browser/android/content_util.h b/content/browser/android/content_util.h | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..3665267c03c5f4bb4263656fd5137415aef487db | 
| --- /dev/null | 
| +++ b/content/browser/android/content_util.h | 
| @@ -0,0 +1,26 @@ | 
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +#ifndef CONTENT_BROWSER_ANDROID_CONTENT_UTIL_H_ | 
| +#define CONTENT_BROWSER_ANDROID_CONTENT_UTIL_H_ | 
| + | 
| +#include <jni.h> | 
| + | 
| +#include "base/android/jni_android.h" | 
| +#include "base/android/scoped_java_ref.h" | 
| +#include "content/public/common/file_chooser_params.h" | 
| + | 
| +base::android::ScopedJavaLocalRef<jobject> ToJavaFileChooserParams( | 
| 
jam
2012/06/08 23:45:09
nit: put in content namespace
 | 
| + JNIEnv* env, | 
| + const content::FileChooserParams& file_chooser_params); | 
| + | 
| +content::FileChooserParams ToNativeFileChooserParams( | 
| + JNIEnv* env, | 
| + jint mode, | 
| + jstring title, | 
| + jstring default_file, | 
| + jobjectArray accept_types, | 
| + jstring capture); | 
| + | 
| +#endif // CONTENT_BROWSER_ANDROID_CONTENT_UTIL_H_ |