Chromium Code Reviews| Index: base/files/file_path.cc |
| diff --git a/base/files/file_path.cc b/base/files/file_path.cc |
| index cfae3a54e98660b5074b6d184e972d0248476177..d20017760957c44741a92732f2388b02d7b46f5f 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::IsContentUri() const { |
| + return StartsWithASCII(path_, "content://", false); |
|
Tom Sepez
2013/11/11 18:28:34
Are there other ways to "spell" content:// ? conte
qinmin
2013/11/11 20:49:53
Done fixing the 3rd parameter comments.
The Java s
|
| +} |
| +#endif |
| + |
| } // namespace base |
| void PrintTo(const base::FilePath& path, std::ostream* out) { |