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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/ui/Completable.java

Issue 2120973002: [Payments] Show complete profiles first and limit to 4 suggestions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed the null return value Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/payments/ui/Completable.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/Completable.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/Completable.java
new file mode 100644
index 0000000000000000000000000000000000000000..480431456fd9242bb4acaccf85f451ca6ae91fba
--- /dev/null
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/Completable.java
@@ -0,0 +1,14 @@
+// Copyright 2016 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.
+
+package org.chromium.chrome.browser.payments.ui;
+
+/**
+ * The interface for types that may be complete, i.e., can be sent to the merchant as-is, without
+ * being edited by the user first.
+ */
+public interface Completable {
+ /** @return Whether the data is complete and can be sent to the merchant as-is */
+ boolean isComplete();
+}

Powered by Google App Engine
This is Rietveld 408576698