Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / autofill / android / personal_data_manager_android.h
index 6221f8a..e46ed90 100644 (file)
@@ -5,7 +5,7 @@
 #ifndef CHROME_BROWSER_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_
 #define CHROME_BROWSER_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_
 
-#include "base/android/jni_helper.h"
+#include "base/android/jni_weak_ref.h"
 #include "base/android/scoped_java_ref.h"
 #include "components/autofill/core/browser/personal_data_manager.h"
 #include "components/autofill/core/browser/personal_data_manager_observer.h"
@@ -75,6 +75,12 @@ class PersonalDataManagerAndroid : public PersonalDataManagerObserver {
       jobject unused_obj,
       jobject jcard);
 
+  // Gets the labels for all known profiles. These labels are useful for
+  // distinguishing the profiles from one another.
+  base::android::ScopedJavaLocalRef<jobjectArray> GetProfileLabels(
+      JNIEnv* env,
+      jobject unused_obj);
+
   // Removes the profile or credit card represented by |jguid|.
   void RemoveByGUID(JNIEnv* env, jobject unused_obj, jstring jguid);