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

Side by Side Diff: chrome/browser/ui/autofill/credit_card_scanner_view.cc

Issue 2619603002: Remove android_java_ui as it is not used (Closed)
Patch Set: Rebase to master Created 3 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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "chrome/browser/ui/autofill/credit_card_scanner_view.h" 6 #include "chrome/browser/ui/autofill/credit_card_scanner_view.h"
7 #include "chrome/common/features.h"
8 7
9 namespace autofill { 8 namespace autofill {
10 9
11 // Not implemented on other platforms yet. 10 // Not implemented on other platforms yet.
12 #if !BUILDFLAG(ANDROID_JAVA_UI) 11 #if !defined(OS_ANDROID)
13 // static 12 // static
14 bool CreditCardScannerView::CanShow() { 13 bool CreditCardScannerView::CanShow() {
15 return false; 14 return false;
16 } 15 }
17 16
18 // static 17 // static
19 std::unique_ptr<CreditCardScannerView> CreditCardScannerView::Create( 18 std::unique_ptr<CreditCardScannerView> CreditCardScannerView::Create(
20 const base::WeakPtr<CreditCardScannerViewDelegate>& delegate, 19 const base::WeakPtr<CreditCardScannerViewDelegate>& delegate,
21 content::WebContents* web_contents) { 20 content::WebContents* web_contents) {
22 return std::unique_ptr<CreditCardScannerView>(); 21 return std::unique_ptr<CreditCardScannerView>();
23 } 22 }
24 #endif // !defined(OS_ANDROID) 23 #endif // !defined(OS_ANDROID)
25 24
26 } // namespace autofill 25 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698