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 #include <algorithm> | 8 #include <algorithm> |
9 #include <memory> | 9 #include <memory> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/android/jni_array.h" | 12 #include "base/android/jni_array.h" |
13 #include "base/android/jni_string.h" | 13 #include "base/android/jni_string.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/format_macros.h" | 15 #include "base/format_macros.h" |
16 #include "base/strings/stringprintf.h" | |
17 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
18 #include "base/time/time.h" | 17 #include "base/time/time.h" |
19 #include "chrome/browser/android/resource_mapper.h" | 18 #include "chrome/browser/android/resource_mapper.h" |
20 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 19 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
21 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
22 #include "chrome/browser/profiles/profile.h" | 21 #include "chrome/browser/profiles/profile.h" |
23 #include "chrome/browser/profiles/profile_manager.h" | 22 #include "chrome/browser/profiles/profile_manager.h" |
24 #include "chrome/common/pref_names.h" | 23 #include "chrome/common/pref_names.h" |
25 #include "components/autofill/content/browser/content_autofill_driver.h" | 24 #include "components/autofill/content/browser/content_autofill_driver.h" |
26 #include "components/autofill/content/browser/content_autofill_driver_factory.h" | 25 #include "components/autofill/content/browser/content_autofill_driver_factory.h" |
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 base::android::ConvertJavaStringToUTF16(env, jcountry_name))); | 859 base::android::ConvertJavaStringToUTF16(env, jcountry_name))); |
861 } | 860 } |
862 | 861 |
863 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { | 862 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { |
864 PersonalDataManagerAndroid* personal_data_manager_android = | 863 PersonalDataManagerAndroid* personal_data_manager_android = |
865 new PersonalDataManagerAndroid(env, obj); | 864 new PersonalDataManagerAndroid(env, obj); |
866 return reinterpret_cast<intptr_t>(personal_data_manager_android); | 865 return reinterpret_cast<intptr_t>(personal_data_manager_android); |
867 } | 866 } |
868 | 867 |
869 } // namespace autofill | 868 } // namespace autofill |
OLD | NEW |