chrome/browser/download/download_path_reservation_tracker.cc
// Returns true if the given path is in use by any path reservation or the
// file system. Called on the FILE thread.
Returns true if the given path is in use by any path reservation or the
file system. Called on the FILE thread.
Returns true if the given path is in use by any path reservation or the file system . Called on the FILE thread .
bool IsPathInUse(const FilePath& path) {
  DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
  if (IsPathReserved(path))
    return true;
  if (file_util::PathExists(path))
    return true;
  return false;
}
bool IsPathInUse ( const FilePath & path ) { DCHECK ( BrowserThread :: CurrentlyOn ( BrowserThread :: FILE ) ) ; if ( IsPathReserved ( path ) ) return true ; if ( file_util :: PathExists ( path ) ) return true ; return false ; }
Returns true if the given path is in use by any path reservation or the
file system.
Returns true if the given path is in use by any path reservation or the file system .
// If there is a reservation, then the path is in use. // If the path exists in the file system, then the path is in use.