summaryrefslogtreecommitdiffstats
path: root/webkit/common
diff options
context:
space:
mode:
authornoamsml@chromium.org <noamsml@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-17 20:55:10 +0000
committernoamsml@chromium.org <noamsml@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-17 20:55:10 +0000
commiteab6105dc2a86105c5b7a8b1160eec637d4ec393 (patch)
treefcdc057f9cad98dbf0919551402b28d99cec8534 /webkit/common
parentc03b8147dfa2752784d4096c856af79fe393eaa6 (diff)
downloadchromium_src-eab6105dc2a86105c5b7a8b1160eec637d4ec393.zip
chromium_src-eab6105dc2a86105c5b7a8b1160eec637d4ec393.tar.gz
chromium_src-eab6105dc2a86105c5b7a8b1160eec637d4ec393.tar.bz2
Stub for Privet file system
This contains a stub Privet file system, behind a flag. BUG=332182 Review URL: https://codereview.chromium.org/120533006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245612 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/common')
-rw-r--r--webkit/common/fileapi/file_system_types.h3
-rw-r--r--webkit/common/fileapi/file_system_util.cc2
2 files changed, 5 insertions, 0 deletions
diff --git a/webkit/common/fileapi/file_system_types.h b/webkit/common/fileapi/file_system_types.h
index 85417cc..48c7795 100644
--- a/webkit/common/fileapi/file_system_types.h
+++ b/webkit/common/fileapi/file_system_types.h
@@ -116,6 +116,9 @@ enum FileSystemType {
// given identifier in each origin.
kFileSystemTypePluginPrivate,
+ // A filesystem that is mounted via the Privet storage protocol.
+ kFileSystemTypeCloudDevice,
+
// --------------------------------------------------------------------
// Marks the end of internal type enum. (This is not the actual fs type)
// New internal filesystem types must be added above this line.
diff --git a/webkit/common/fileapi/file_system_util.cc b/webkit/common/fileapi/file_system_util.cc
index ef685fe..6825f32 100644
--- a/webkit/common/fileapi/file_system_util.cc
+++ b/webkit/common/fileapi/file_system_util.cc
@@ -255,6 +255,8 @@ std::string GetFileSystemTypeString(FileSystemType type) {
return "TransientFile";
case kFileSystemTypePluginPrivate:
return "PluginPrivate";
+ case kFileSystemTypeCloudDevice:
+ return "CloudDevice";
case kFileSystemInternalTypeEnumStart:
case kFileSystemInternalTypeEnumEnd:
NOTREACHED();