add globbing util function
R=djsollen@google.com
Review URL: https://codereview.chromium.org/17881002
git-svn-id: http://skia.googlecode.com/svn/trunk@9774 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/skpdiff/skpdiff_util.h b/experimental/skpdiff/skpdiff_util.h
index 34fa8f3..d98175e 100644
--- a/experimental/skpdiff/skpdiff_util.h
+++ b/experimental/skpdiff/skpdiff_util.h
@@ -34,5 +34,13 @@
*/
bool get_directory(const char path[], SkTArray<SkString>* entries);
+/**
+ * Gets the files that match the specified pattern in sorted order.
+ * @param globPattern The pattern to use. Patterns must be valid paths, optionally with wildcards (*)
+ * @param entries An array to return the results into
+ * @return True on success, false otherwise
+ */
+bool glob_files(const char globPattern[], SkTArray<SkString>* entries);
+
#endif