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

Side by Side Diff: components/autofill/core/browser/autofill_client.h

Issue 756333003: Prompt for unmasking Wallet credit card on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge conflicts Created 6 years 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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 // Gets the preferences associated with the client. 66 // Gets the preferences associated with the client.
67 virtual PrefService* GetPrefs() = 0; 67 virtual PrefService* GetPrefs() = 0;
68 68
69 // Hides the associated request autocomplete dialog (if it exists). 69 // Hides the associated request autocomplete dialog (if it exists).
70 virtual void HideRequestAutocompleteDialog() = 0; 70 virtual void HideRequestAutocompleteDialog() = 0;
71 71
72 // Causes the Autofill settings UI to be shown. 72 // Causes the Autofill settings UI to be shown.
73 virtual void ShowAutofillSettings() = 0; 73 virtual void ShowAutofillSettings() = 0;
74 74
75 // FIXME
76 virtual void ShowUnmaskPrompt() = 0;
77
75 // Run |save_card_callback| if the credit card should be imported as personal 78 // Run |save_card_callback| if the credit card should be imported as personal
76 // data. |metric_logger| can be used to log user actions. 79 // data. |metric_logger| can be used to log user actions.
77 virtual void ConfirmSaveCreditCard( 80 virtual void ConfirmSaveCreditCard(
78 const AutofillMetrics& metric_logger, 81 const AutofillMetrics& metric_logger,
79 const base::Closure& save_card_callback) = 0; 82 const base::Closure& save_card_callback) = 0;
80 83
81 // Returns true if both the platform and the device support scanning credit 84 // Returns true if both the platform and the device support scanning credit
82 // cards. Should be called before ScanCreditCard(). 85 // cards. Should be called before ScanCreditCard().
83 virtual bool HasCreditCardScanFeature() = 0; 86 virtual bool HasCreditCardScanFeature() = 0;
84 87
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 126
124 // Inform the client that the field has been filled. 127 // Inform the client that the field has been filled.
125 virtual void DidFillOrPreviewField( 128 virtual void DidFillOrPreviewField(
126 const base::string16& autofilled_value, 129 const base::string16& autofilled_value,
127 const base::string16& profile_full_name) = 0; 130 const base::string16& profile_full_name) = 0;
128 }; 131 };
129 132
130 } // namespace autofill 133 } // namespace autofill
131 134
132 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 135 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698