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

Side by Side Diff: chrome/browser/ui/android/autofill/autofill_dialog_result.cc

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 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 | Annotate | Revision Log
OLDNEW
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/ui/android/autofill/autofill_dialog_result.h" 5 #include "chrome/browser/ui/android/autofill/autofill_dialog_result.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_array.h" 8 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/strings/string_split.h" 13 #include "base/strings/string_split.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "chrome/browser/ui/autofill/data_model_wrapper.h" 15 #include "chrome/browser/ui/autofill/data_model_wrapper.h"
16 #include "components/autofill/content/browser/wallet/full_wallet.h" 16 #include "components/autofill/content/browser/wallet/full_wallet.h"
17 #include "components/autofill/core/browser/credit_card.h" 17 #include "components/autofill/core/browser/credit_card.h"
18 #include "components/autofill/core/common/form_data.h" 18 #include "components/autofill/core/common/form_data.h"
19 #include "jni/AutofillDialogResult_jni.h" 19 #include "jni/AutofillDialogResult_jni.h"
20 #include "ui/base/l10n/l10n_util.h"
21 20
22 namespace autofill { 21 namespace autofill {
23 22
24 namespace { 23 namespace {
25 24
26 std::string ConvertNullOrJavaStringToUTF8(JNIEnv* env, jstring str) { 25 std::string ConvertNullOrJavaStringToUTF8(JNIEnv* env, jstring str) {
27 return str ? base::android::ConvertJavaStringToUTF8(env, str) : std::string(); 26 return str ? base::android::ConvertJavaStringToUTF8(env, str) : std::string();
28 } 27 }
29 28
30 base::string16 ConvertNullOrJavaStringToUTF16(JNIEnv* env, jstring str) { 29 base::string16 ConvertNullOrJavaStringToUTF16(JNIEnv* env, jstring str) {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 JNIEnv* env, jobject wallet) { 139 JNIEnv* env, jobject wallet) {
141 return ParseGoogleTransactionId(env, wallet); 140 return ParseGoogleTransactionId(env, wallet);
142 } 141 }
143 142
144 // static 143 // static
145 bool AutofillDialogResult::RegisterAutofillDialogResult(JNIEnv* env) { 144 bool AutofillDialogResult::RegisterAutofillDialogResult(JNIEnv* env) {
146 return RegisterNativesImpl(env); 145 return RegisterNativesImpl(env);
147 } 146 }
148 147
149 } // namespace autofill 148 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698