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

Unified Diff: chrome/browser/ui/autofill/credit_card_scanner_view.cc

Issue 1459793002: Android: Allow compiling browser without Java UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/autofill/credit_card_scanner_view.cc
diff --git a/chrome/browser/ui/autofill/credit_card_scanner_view.cc b/chrome/browser/ui/autofill/credit_card_scanner_view.cc
index 0f6e5b6f5e2279666131b9b2544f70f27072efe2..0d1bb08ae015e4ac4645444321996e3d5a5cdf50 100644
--- a/chrome/browser/ui/autofill/credit_card_scanner_view.cc
+++ b/chrome/browser/ui/autofill/credit_card_scanner_view.cc
@@ -3,11 +3,12 @@
// 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 !defined(OS_ANDROID)
+#if !BUILDFLAG(ANDROID_JAVA_UI)
// static
bool CreditCardScannerView::CanShow() {
return false;

Powered by Google App Engine
This is Rietveld 408576698