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

Side by Side Diff: chrome/browser/ui/autofill/card_unmask_prompt_controller.h

Issue 1011503004: Autofill card unmasking - never store locally in incognito (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: inline and format 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
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 9
10 namespace base { 10 namespace base {
(...skipping 14 matching lines...) Expand all
25 const base::string16& exp_month, 25 const base::string16& exp_month,
26 const base::string16& exp_year, 26 const base::string16& exp_year,
27 bool should_store_pan) = 0; 27 bool should_store_pan) = 0;
28 28
29 // State. 29 // State.
30 virtual content::WebContents* GetWebContents() = 0; 30 virtual content::WebContents* GetWebContents() = 0;
31 virtual base::string16 GetWindowTitle() const = 0; 31 virtual base::string16 GetWindowTitle() const = 0;
32 virtual base::string16 GetInstructionsMessage() const = 0; 32 virtual base::string16 GetInstructionsMessage() const = 0;
33 virtual int GetCvcImageRid() const = 0; 33 virtual int GetCvcImageRid() const = 0;
34 virtual bool ShouldRequestExpirationDate() const = 0; 34 virtual bool ShouldRequestExpirationDate() const = 0;
35 virtual bool CanStoreLocally() const = 0;
35 virtual bool GetStoreLocallyStartState() const = 0; 36 virtual bool GetStoreLocallyStartState() const = 0;
36 virtual bool InputCvcIsValid(const base::string16& input_text) const = 0; 37 virtual bool InputCvcIsValid(const base::string16& input_text) const = 0;
37 virtual bool InputExpirationIsValid(const base::string16& month, 38 virtual bool InputExpirationIsValid(const base::string16& month,
38 const base::string16& year) const = 0; 39 const base::string16& year) const = 0;
39 virtual base::TimeDelta GetSuccessMessageDuration() const = 0; 40 virtual base::TimeDelta GetSuccessMessageDuration() const = 0;
40 }; 41 };
41 42
42 } // namespace autofill 43 } // namespace autofill
43 44
44 #endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_ 45 #endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698