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

Unified Diff: webkit/fileapi/file_system_util.cc

Issue 9004019: Cleanup: Removing FileSystemPathManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 12 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 | « webkit/fileapi/file_system_util.h ('k') | webkit/fileapi/file_writer_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_util.cc
diff --git a/webkit/fileapi/file_system_util.cc b/webkit/fileapi/file_system_util.cc
index 42300dba88e28ec35bc35389ebaec403a844b6b9..7992fce447474184f499e619924af31026bcafd8 100644
--- a/webkit/fileapi/file_system_util.cc
+++ b/webkit/fileapi/file_system_util.cc
@@ -162,4 +162,18 @@ GURL GetOriginURLFromIdentifier(const std::string& origin_identifier) {
return origin_url;
}
+std::string GetFileSystemTypeString(FileSystemType type) {
+ switch (type) {
+ case kFileSystemTypeTemporary:
+ return fileapi::kTemporaryName;
+ case kFileSystemTypePersistent:
+ return fileapi::kPersistentName;
+ case kFileSystemTypeExternal:
+ return fileapi::kExternalName;
+ case kFileSystemTypeUnknown:
+ default:
+ return std::string();
+ }
+}
+
} // namespace fileapi
« no previous file with comments | « webkit/fileapi/file_system_util.h ('k') | webkit/fileapi/file_writer_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698