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

Unified Diff: ui/android/java/src/org/chromium/ui/PhotoPickerListener.java

Issue 2894523004: Photo Picker dialog: Add a test. (Closed)
Patch Set: Fix vector drawable error Created 3 years, 7 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: ui/android/java/src/org/chromium/ui/PhotoPickerListener.java
diff --git a/ui/android/java/src/org/chromium/ui/PhotoPickerListener.java b/ui/android/java/src/org/chromium/ui/PhotoPickerListener.java
index ea4e6784f2d85a63d3216646fc8128d0feb73ab0..a2321d121acbbfacddab97123aa8ed3cbad196a7 100644
--- a/ui/android/java/src/org/chromium/ui/PhotoPickerListener.java
+++ b/ui/android/java/src/org/chromium/ui/PhotoPickerListener.java
@@ -4,10 +4,6 @@
package org.chromium.ui;
-import android.support.annotation.Nullable;
-
-import java.util.Map;
-
/**
* The callback used to indicate what action the user took in the picker.
*/
@@ -34,13 +30,4 @@ public interface PhotoPickerListener {
* @param photos The photos that were selected.
*/
void onPickerUserAction(Action action, String[] photos);
-
- /**
- * Used during testing to provide pre-canned data to the dialog.
- *
- * @return The test files to use (Map<String, Long>, mapping file paths to creation times) or
- * null when run outside of a test.
- */
- @Nullable
- Map<String, Long> getFilesForTesting();
}

Powered by Google App Engine
This is Rietveld 408576698