text: // Copyright (c) 2012 The Chromium Authors. All rights reserved.
  // Use of this source code is governed by a BSD-style license that can be
  // found in the LICENSE file.
  
  #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_
  #define WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_
  
  #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSystem.h"
  
  namespace fileapi {
  
  enum FileSystemType {
    // Indicates uninitialized or invalid filesystem type.
    kFileSystemTypeUnknown = -1,
  
    // Following two types are for TEMPORARY or PERSISTENT filesystems that
    // can be used by webapps via standard app-facing API
    // as defined in File API: Directories and System.
    // http://www.w3.org/TR/file-system-api/#temporary-vs.-persistent-storage
    // They are sandboxed filesystems; all the files in the filesystems are
    // placed under the profile directory with path obfuscation and quota
    // enforcement.
    kFileSystemTypeTemporary = WebKit::WebFileSystem::TypeTemporary,
    kFileSystemTypePersistent = WebKit::WebFileSystem::TypePersistent,
  
    // Indicates non-sandboxed filesystem where files are placed outside the
    // profile directory (thus called 'external' filesystem).
    // This filesystem is used only by Chrome OS as of writing.
    kFileSystemTypeExternal = WebKit::WebFileSystem::TypeExternal,
  };
  
  }
  
  #endif  // WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_
  