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

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

Issue 873403004: Autofill - show expiration date in CVC prompt when card is expired. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 9
10 namespace autofill { 10 namespace autofill {
11 11
12 class CardUnmaskDelegate { 12 class CardUnmaskDelegate {
13 public: 13 public:
14 // Called when the user has attempted a verification. Prompt is still 14 // Called when the user has attempted a verification. Prompt is still
15 // open at this point. 15 // open at this point.
16 virtual void OnUnmaskResponse(const base::string16& cvc) = 0; 16 virtual void OnUnmaskResponse(const base::string16& cvc,
17 const base::string16& exp_month,
18 const base::string16& exp_year) = 0;
17 19
18 // Called when the unmask prompt is closed (e.g., cancelled). 20 // Called when the unmask prompt is closed (e.g., cancelled).
19 virtual void OnUnmaskPromptClosed() = 0; 21 virtual void OnUnmaskPromptClosed() = 0;
20 }; 22 };
21 23
22 } // namespace autofill 24 } // namespace autofill
23 25
24 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_ 26 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_CARD_UNMASK_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698