| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/autofill/browser/android/auxiliary_profile_loader_android.h
" | 5 #include "components/autofill/core/browser/android/auxiliary_profile_loader_andr
oid.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
| 10 #include "base/android/jni_array.h" | 10 #include "base/android/jni_array.h" |
| 11 #include "base/android/jni_string.h" | 11 #include "base/android/jni_string.h" |
| 12 #include "jni/PersonalAutofillPopulator_jni.h" | 12 #include "jni/PersonalAutofillPopulator_jni.h" |
| 13 | 13 |
| 14 #define JAVA_METHOD(__jmethod__) Java_PersonalAutofillPopulator_##__jmethod__( \ | 14 #define JAVA_METHOD(__jmethod__) Java_PersonalAutofillPopulator_##__jmethod__( \ |
| 15 env_, \ | 15 env_, \ |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 // Phone info | 114 // Phone info |
| 115 void AuxiliaryProfileLoaderAndroid::GetPhoneNumbers( | 115 void AuxiliaryProfileLoaderAndroid::GetPhoneNumbers( |
| 116 std::vector<base::string16>* phone_numbers) const { | 116 std::vector<base::string16>* phone_numbers) const { |
| 117 SafeJavaStringArrayToStringVector(JAVA_METHOD(getPhoneNumbers), | 117 SafeJavaStringArrayToStringVector(JAVA_METHOD(getPhoneNumbers), |
| 118 env_, | 118 env_, |
| 119 phone_numbers); | 119 phone_numbers); |
| 120 } | 120 } |
| 121 | 121 |
| 122 } // namespace | 122 } // namespace |
| OLD | NEW |