Index: base/files/file_path.cc |
diff --git a/base/files/file_path.cc b/base/files/file_path.cc |
index cfae3a54e98660b5074b6d184e972d0248476177..c7f958542038c8ea8f76e8f783cb19a931196fc0 100644 |
--- a/base/files/file_path.cc |
+++ b/base/files/file_path.cc |
@@ -1280,6 +1280,12 @@ FilePath FilePath::NormalizePathSeparators() const { |
#endif |
} |
+#if defined(OS_ANDROID) |
+bool FilePath::IsContentUrl() const { |
+ return StartsWithASCII(path_, "content://", false); |
+} |
+#endif |
+ |
} // namespace base |
void PrintTo(const base::FilePath& path, std::ostream* out) { |