summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/drive/file_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/drive/file_cache.h')
-rw-r--r--chrome/browser/chromeos/drive/file_cache.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/drive/file_cache.h b/chrome/browser/chromeos/drive/file_cache.h
index 4dcc3b1..db6f848d 100644
--- a/chrome/browser/chromeos/drive/file_cache.h
+++ b/chrome/browser/chromeos/drive/file_cache.h
@@ -115,8 +115,11 @@ class FileCache {
// Returns true if the cache file corresponding to |id| is write-opened.
bool IsOpenedForWrite(const std::string& id);
- // Clears dirty state of the specified entry and updates its MD5.
- FileError ClearDirty(const std::string& id, const std::string& md5);
+ // Calculates MD5 of the cache file and updates the stored value.
+ FileError UpdateMd5(const std::string& id);
+
+ // Clears dirty state of the specified entry.
+ FileError ClearDirty(const std::string& id);
// Removes the specified cache entry and delete cache files if available.
FileError Remove(const std::string& id);