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

Side by Side Diff: chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h

Issue 969223002: Autofill wallet -- handle several classes of error in unmasking prompt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: local Created 5 years, 9 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 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_ 5 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_
6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_ 6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
(...skipping 14 matching lines...) Expand all
25 jobject obj, 25 jobject obj,
26 jstring cvc, 26 jstring cvc,
27 jstring month, 27 jstring month,
28 jstring year, 28 jstring year,
29 jboolean should_store_locally); 29 jboolean should_store_locally);
30 void PromptDismissed(JNIEnv* env, jobject obj); 30 void PromptDismissed(JNIEnv* env, jobject obj);
31 31
32 // CardUnmaskPromptView implementation. 32 // CardUnmaskPromptView implementation.
33 void ControllerGone() override; 33 void ControllerGone() override;
34 void DisableAndWaitForVerification() override; 34 void DisableAndWaitForVerification() override;
35 void GotVerificationResult(bool success) override; 35 void GotVerificationResult(const base::string16& error_message,
36 bool allow_retry) override;
36 37
37 static bool Register(JNIEnv* env); 38 static bool Register(JNIEnv* env);
38 39
39 private: 40 private:
40 ~CardUnmaskPromptViewAndroid() override; 41 ~CardUnmaskPromptViewAndroid() override;
41 42
42 // The corresponding java object. 43 // The corresponding java object.
43 base::android::ScopedJavaGlobalRef<jobject> java_object_; 44 base::android::ScopedJavaGlobalRef<jobject> java_object_;
44 45
45 CardUnmaskPromptController* controller_; 46 CardUnmaskPromptController* controller_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViewAndroid); 48 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViewAndroid);
48 }; 49 };
49 50
50 } // namespace autofill 51 } // namespace autofill
51 52
52 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_ 53 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698