Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: base/files/file_path.h

Issue 46303005: Fix chrome upload with content uri (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: simplify the change using FILE enum instead of adding a new enum Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/files/file_path.cc » ('j') | content/browser/fileapi/fileapi_message_filter.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | base/files/file_path.cc » ('j') | content/browser/fileapi/fileapi_message_filter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698