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

Side by Side Diff: chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/card_unmask_prompt_view_android.h" 5 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h"
6 6
7 #include "chrome/browser/android/resource_mapper.h" 7 #include "chrome/browser/android/resource_mapper.h"
8 #include "chrome/browser/ui/autofill/create_card_unmask_prompt_view.h" 8 #include "chrome/browser/ui/autofill/create_card_unmask_prompt_view.h"
9 #include "components/autofill/core/browser/ui/card_unmask_prompt_controller.h" 9 #include "components/autofill/core/browser/ui/card_unmask_prompt_controller.h"
10 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
11 #include "jni/CardUnmaskBridge_jni.h" 11 #include "jni/CardUnmaskBridge_jni.h"
12 #include "ui/android/view_android.h" 12 #include "ui/android/view_android.h"
13 #include "ui/android/window_android.h" 13 #include "ui/android/window_android.h"
14 14
15 using base::android::JavaParamRef;
16 using base::android::ScopedJavaLocalRef;
17
15 namespace autofill { 18 namespace autofill {
16 19
17 CardUnmaskPromptView* CreateCardUnmaskPromptView( 20 CardUnmaskPromptView* CreateCardUnmaskPromptView(
18 CardUnmaskPromptController* controller, 21 CardUnmaskPromptController* controller,
19 content::WebContents* web_contents) { 22 content::WebContents* web_contents) {
20 return new CardUnmaskPromptViewAndroid(controller, web_contents); 23 return new CardUnmaskPromptViewAndroid(controller, web_contents);
21 } 24 }
22 25
23 CardUnmaskPromptViewAndroid::CardUnmaskPromptViewAndroid( 26 CardUnmaskPromptViewAndroid::CardUnmaskPromptViewAndroid(
24 CardUnmaskPromptController* controller, 27 CardUnmaskPromptController* controller,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 Java_CardUnmaskBridge_verificationFinished(env, java_object_.obj(), 122 Java_CardUnmaskBridge_verificationFinished(env, java_object_.obj(),
120 message.obj(), allow_retry); 123 message.obj(), allow_retry);
121 } 124 }
122 125
123 // static 126 // static
124 bool CardUnmaskPromptViewAndroid::Register(JNIEnv* env) { 127 bool CardUnmaskPromptViewAndroid::Register(JNIEnv* env) {
125 return RegisterNativesImpl(env); 128 return RegisterNativesImpl(env);
126 } 129 }
127 130
128 } // namespace autofill 131 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698