dex2oat invoked by system if it can't find an oat file for a dex file.

This allows the old dalvik tests to be run without ever explicitly
running dex2oat on anything. Just upload the jar files and the system
will take care of generating the files it needs.

Change-Id: Iad553bf6f57e28da4edb8eb0df47e62e08a0be44
diff --git a/src/utils.h b/src/utils.h
index dd597e9..df1e1c1 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -221,8 +221,12 @@
 // Returns the art-cache location, or dies trying.
 std::string GetArtCacheOrDie();
 
-// Returns the art-cache location for an OatFile, or dies trying.
-std::string GetArtCacheOatFilenameOrDie(const std::string& location);
+// Returns the art-cache location for a DexFile or OatFile, or dies trying.
+std::string GetArtCacheFilenameOrDie(const std::string& location);
+
+// Check whether the given filename has a valid zip or dex extension
+bool IsValidZipFilename(const std::string& filename);
+bool IsValidDexFilename(const std::string& filename);
 
 }  // namespace art