| 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 "chrome/browser/autofill/android/personal_data_manager_android.h" | 5 #include "chrome/browser/autofill/android/personal_data_manager_android.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/android/jni_array.h" | 9 #include "base/android/jni_array.h" |
| 10 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/format_macros.h" | 12 #include "base/format_macros.h" |
| 13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
| 14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
| 15 #include "chrome/browser/autofill/options_util.h" | |
| 16 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 15 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 17 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
| 18 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
| 19 #include "chrome/browser/profiles/profile_manager.h" | 18 #include "chrome/browser/profiles/profile_manager.h" |
| 20 #include "chrome/common/pref_names.h" | 19 #include "chrome/common/pref_names.h" |
| 21 #include "components/autofill/core/browser/autofill_country.h" | 20 #include "components/autofill/core/browser/autofill_country.h" |
| 22 #include "components/autofill/core/browser/autofill_type.h" | 21 #include "components/autofill/core/browser/autofill_type.h" |
| 23 #include "components/autofill/core/browser/country_names.h" | 22 #include "components/autofill/core/browser/country_names.h" |
| 24 #include "components/autofill/core/browser/field_types.h" | 23 #include "components/autofill/core/browser/field_types.h" |
| 25 #include "components/autofill/core/browser/personal_data_manager.h" | 24 #include "components/autofill/core/browser/personal_data_manager.h" |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 base::android::ConvertJavaStringToUTF16(env, jcountry_name))); | 358 base::android::ConvertJavaStringToUTF16(env, jcountry_name))); |
| 360 } | 359 } |
| 361 | 360 |
| 362 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { | 361 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { |
| 363 PersonalDataManagerAndroid* personal_data_manager_android = | 362 PersonalDataManagerAndroid* personal_data_manager_android = |
| 364 new PersonalDataManagerAndroid(env, obj); | 363 new PersonalDataManagerAndroid(env, obj); |
| 365 return reinterpret_cast<intptr_t>(personal_data_manager_android); | 364 return reinterpret_cast<intptr_t>(personal_data_manager_android); |
| 366 } | 365 } |
| 367 | 366 |
| 368 } // namespace autofill | 367 } // namespace autofill |
| OLD | NEW |