Chromium Code Reviews| Index: base/files/file_path.h |
| diff --git a/base/files/file_path.h b/base/files/file_path.h |
| index 4d03da42474a871379a747b583bf6804dfbbbabf..3082d2a5594adf2a98960885e2229e0fda1522cf 100644 |
| --- a/base/files/file_path.h |
| +++ b/base/files/file_path.h |
| @@ -387,6 +387,11 @@ class BASE_EXPORT FilePath { |
| const StringType& string2); |
| #endif |
| +#if defined(OS_ANDROID) |
| + // Returns true if the path is a content url, which starts with content://. |
|
kinuko
2013/10/31 06:10:51
Would be nice to add a few more (generic) comment
qinmin
2013/11/05 01:41:31
Done.
|
| + bool IsContentUrl() const; |
| +#endif |
| + |
| private: |
| // Remove trailing separators from this object. If the path is absolute, it |
| // will never be stripped any more than to refer to the absolute root |