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> |
| 8 |
7 #include "base/android/jni_array.h" | 9 #include "base/android/jni_array.h" |
8 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
9 #include "base/command_line.h" | 11 #include "base/command_line.h" |
10 #include "base/format_macros.h" | 12 #include "base/format_macros.h" |
11 #include "base/prefs/pref_service.h" | 13 #include "base/prefs/pref_service.h" |
12 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
13 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
14 #include "chrome/browser/autofill/options_util.h" | 16 #include "chrome/browser/autofill/options_util.h" |
15 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 17 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
16 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 g_browser_process->GetApplicationLocale())); | 361 g_browser_process->GetApplicationLocale())); |
360 } | 362 } |
361 | 363 |
362 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { | 364 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { |
363 PersonalDataManagerAndroid* personal_data_manager_android = | 365 PersonalDataManagerAndroid* personal_data_manager_android = |
364 new PersonalDataManagerAndroid(env, obj); | 366 new PersonalDataManagerAndroid(env, obj); |
365 return reinterpret_cast<intptr_t>(personal_data_manager_android); | 367 return reinterpret_cast<intptr_t>(personal_data_manager_android); |
366 } | 368 } |
367 | 369 |
368 } // namespace autofill | 370 } // namespace autofill |
OLD | NEW |