Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(719)

Side by Side Diff: chrome/browser/android/preferences/autofill/autofill_profile_bridge.cc

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/android/preferences/autofill/autofill_profile_bridge.h" 5 #include "chrome/browser/android/preferences/autofill/autofill_profile_bridge.h"
6 6
7 #include <jni.h> 7 #include <jni.h>
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 "base/bind.h" 12 #include "base/bind.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
15 #include "components/autofill/core/browser/autofill_country.h" 15 #include "components/autofill/core/browser/autofill_country.h"
16 #include "jni/AutofillProfileBridge_jni.h" 16 #include "jni/AutofillProfileBridge_jni.h"
17 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_fi eld.h" 17 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_fi eld.h"
18 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_me tadata.h" 18 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_me tadata.h"
19 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_ui .h" 19 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_ui .h"
20 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_ui _component.h" 20 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_ui _component.h"
21 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/localizati on.h" 21 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/localizati on.h"
22 #include "ui/base/l10n/l10n_util.h" 22 #include "ui/base/l10n/l10n_util.h"
23 23
24 namespace autofill { 24 namespace autofill {
25 25
26 using base::android::ConvertJavaStringToUTF8; 26 using base::android::ConvertJavaStringToUTF8;
27 using base::android::ConvertUTF8ToJavaString; 27 using base::android::ConvertUTF8ToJavaString;
28 using base::android::JavaParamRef;
29 using base::android::ScopedJavaLocalRef;
28 using base::android::ToJavaArrayOfStrings; 30 using base::android::ToJavaArrayOfStrings;
29 using base::android::ToJavaIntArray; 31 using base::android::ToJavaIntArray;
30 using ::i18n::addressinput::AddressField; 32 using ::i18n::addressinput::AddressField;
31 using ::i18n::addressinput::AddressUiComponent; 33 using ::i18n::addressinput::AddressUiComponent;
32 using ::i18n::addressinput::BuildComponents; 34 using ::i18n::addressinput::BuildComponents;
33 using ::i18n::addressinput::COUNTRY; 35 using ::i18n::addressinput::COUNTRY;
34 using ::i18n::addressinput::GetRegionCodes; 36 using ::i18n::addressinput::GetRegionCodes;
35 using ::i18n::addressinput::IsFieldRequired; 37 using ::i18n::addressinput::IsFieldRequired;
36 using ::i18n::addressinput::Localization; 38 using ::i18n::addressinput::Localization;
37 using ::i18n::addressinput::RECIPIENT; 39 using ::i18n::addressinput::RECIPIENT;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 144
143 return ConvertUTF8ToJavaString(env, best_language_tag); 145 return ConvertUTF8ToJavaString(env, best_language_tag);
144 } 146 }
145 147
146 // static 148 // static
147 bool RegisterAutofillProfileBridge(JNIEnv* env) { 149 bool RegisterAutofillProfileBridge(JNIEnv* env) {
148 return RegisterNativesImpl(env); 150 return RegisterNativesImpl(env);
149 } 151 }
150 152
151 } // namespace autofill 153 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/android/precache/precache_launcher.cc ('k') | chrome/browser/android/preferences/pref_service_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698