blob: 4e5fddc7cee30e2bc18a37124877339ca5136c76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// 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 CHROME_BROWSER_CHROMEOS_DRIVE_REMOVE_STALE_CACHE_FILES_H_
#define CHROME_BROWSER_CHROMEOS_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 // CHROME_BROWSER_CHROMEOS_DRIVE_REMOVE_STALE_CACHE_FILES_H_
|