| Index: chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.cc
|
| diff --git a/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.cc b/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.cc
|
| index 76d0a4f8dd3337f6d47ef9a6579280f4e83dfd41..c63d92ebbea676124a033bb233c45671968f88c6 100644
|
| --- a/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.cc
|
| +++ b/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.cc
|
| @@ -211,10 +211,12 @@ bool CardUnmaskPromptControllerImpl::ShouldRequestExpirationDate() const {
|
| }
|
|
|
| bool CardUnmaskPromptControllerImpl::CanStoreLocally() const {
|
| - // TODO(estade): Always return false for Linux. See
|
| - // https://codereview.chromium.org/1012223002/
|
| +#if defined(ENABLE_SAVE_WALLET_CARDS_LOCALLY)
|
| return !Profile::FromBrowserContext(web_contents_->GetBrowserContext())
|
| ->IsOffTheRecord();
|
| +#else
|
| + return false;
|
| +#endif
|
| }
|
|
|
| bool CardUnmaskPromptControllerImpl::GetStoreLocallyStartState() const {
|
|
|