Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Side by Side Diff: base/android/jni_local_ref_extensions.h

Issue 12282004: Added personal_data_manager android implementation for auto-populating auto-fill on android builds … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Autofill nits Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 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 BASE_ANDROID_JNI_LOCAL_REF_EXTENSIONS_H_
6 #define BASE_ANDROID_JNI_LOCAL_REF_EXTENSIONS_H_
7
8 #include "base/android/jni_android.h"
9 #include "base/android/jni_array.h"
10 #include "base/android/jni_string.h"
11
12 namespace base {
13 namespace android {
14
15 std::vector<string16> SafeJavaStringArrayToStringVector(
Ilya Sherman 2013/03/01 01:55:04 Returning a vector by value is generally frowned u
Ilya Sherman 2013/03/01 01:55:04 nit: Docs.
Ilya Sherman 2013/03/01 01:55:04 Honestly, this function doesn't seem like it belon
apiccion 2013/03/02 03:37:01 It bloats the code. Had it as a private method in
Ilya Sherman 2013/03/05 00:42:37 Ok, I'll leave that up to base/android OWNERS.
16 ScopedJavaLocalRef<jobjectArray> jarray,
17 JNIEnv* env);
18
19 string16 SafeJavaStringToUTF16(ScopedJavaLocalRef<jstring> jstring);
Ilya Sherman 2013/03/01 01:55:04 nit: Docs.
apiccion 2013/03/02 03:37:01 Done.
20
21 } // namespace android
22 } // namespace base
23
24 #endif // BASE_ANDROID_JNI_LOCAL_REF_EXTENSIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698