• kinuko@chromium.org's avatar
    Add special FS type for internal sync operation · a11968d7
    kinuko@chromium.org authored
    This change deprecates sync_file_system::CreateFileSystemOperationForSync(),
    but adds a new special FS type for internal sync:
    kFileSystemTypeSyncableForInternalSync so that the existing
    FileSystemOperation factory method (i.e.
    FileSystemContext::CreateFileSystemOperation) can be used without hacky
    code for internal sync operations.
    
    This is a prerequisite cleanup for following further cleanups:
    - To eventually move all syncable code out of webkit/fileapi
    - To cleanup FileSystemOperatin related code
    
    BUG=242422, 176444
    TEST=content_unittests:LocalFile*,Syncable*
    TEST=manual local/remote sync test with syncfs-editor
    
    Review URL: https://chromiumcodereview.appspot.com/16330002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204083 0039d316-1c4b-4281-b951-d872f2087c98
    a11968d7
file_system_util.cc 12.3 KB