blob: d3e922c231b536e1b638be63d719fcc4172c1713 [file] [log] [blame]
// 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 COMPONENTS_DRIVE_REMOVE_STALE_CACHE_FILES_H_
#define COMPONENTS_DRIVE_REMOVE_STALE_CACHE_FILES_H_
namespace drive{
namespace internal {
class FileCache;
class ResourceMetadata;
// Removes files from |cache| which are not dirty but the MD5 is obsolete.
// Must be run on the same task runner as |cache| and |resource_metadata| use.
void RemoveStaleCacheFiles(FileCache* cache,
ResourceMetadata* resource_metadata);
} // namespace internal
} // namespace drive
#endif // COMPONENTS_DRIVE_REMOVE_STALE_CACHE_FILES_H_