| // Copyright 2014 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "chrome/browser/ui/autofill/credit_card_scanner_view.h" |
| #include "chrome/common/features.h" |
| |
| namespace autofill { |
| |
| // Not implemented on other platforms yet. |
| #if !BUILDFLAG(ANDROID_JAVA_UI) |
| // static |
| bool CreditCardScannerView::CanShow() { |
| return false; |
| } |
| |
| // static |
| scoped_ptr<CreditCardScannerView> CreditCardScannerView::Create( |
| const base::WeakPtr<CreditCardScannerViewDelegate>& delegate, |
| content::WebContents* web_contents) { |
| return scoped_ptr<CreditCardScannerView>(); |
| } |
| #endif // !defined(OS_ANDROID) |
| |
| } // namespace autofill |