• kinaba@chromium.org's avatar
    drive: Enable recursive fast-fetch. · a3b936d9
    kinaba@chromium.org authored
    - LoadDirectoryIfNeeded calls GetResourceEntryByPath for directory metadata.
    - GetResourceEntryByPath calls LoadDirectoryIfNeeded for its parent if needed.
    
    The cycle enables to fetch deep entries at any time without waiting for
    the full feed nor user to dig down the hierarchy from the root.
    
    Along the way, I removed the handling of  ReadDirectoryByPath("drive/other")
    that waited the full feed to arrive. By removing it, all FileSystem
    operations are now clearly ensured not blocked by full feed fetching.
    Listing up "drive/other" is meaningless; Files.app never does that.
    
    BUG=285614
    
    Review URL: https://chromiumcodereview.appspot.com/23441049
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221712 0039d316-1c4b-4281-b951-d872f2087c98
    a3b936d9
fake_drive_service.h 13.8 KB