summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/drive/file_cache.h
diff options
context:
space:
mode:
authorhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-26 07:47:36 +0000
committerhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-26 07:47:36 +0000
commit1b0ce4c645e1e42ba605a8eb1638bd9788ffb7f8 (patch)
tree337805e0bc8561433802c12e0df8869b0688518e /chrome/browser/chromeos/drive/file_cache.h
parent64578d1295422da4afb5a1dcb1745e8c1660630e (diff)
downloadchromium_src-1b0ce4c645e1e42ba605a8eb1638bd9788ffb7f8.zip
chromium_src-1b0ce4c645e1e42ba605a8eb1638bd9788ffb7f8.tar.gz
chromium_src-1b0ce4c645e1e42ba605a8eb1638bd9788ffb7f8.tar.bz2
drive: Remove MD5 argument from FileCache::GetCacheEntry()
Remove MD5 argument from FileCache::GetCacheEntry() and FileSystem::GetCacheEntryByResourceId(). BUG=248424 TEST=unit_tests R=hidehiko@chromium.org Review URL: https://codereview.chromium.org/20614003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213785 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/drive/file_cache.h')
-rw-r--r--chrome/browser/chromeos/drive/file_cache.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/chrome/browser/chromeos/drive/file_cache.h b/chrome/browser/chromeos/drive/file_cache.h
index 405341b..0c32481 100644
--- a/chrome/browser/chromeos/drive/file_cache.h
+++ b/chrome/browser/chromeos/drive/file_cache.h
@@ -98,20 +98,17 @@ class FileCache {
// Can be called on any thread.
bool IsUnderFileCacheDirectory(const base::FilePath& path) const;
- // Gets the cache entry for file corresponding to |resource_id| and |md5|
- // and runs |callback| with true and the entry found if entry exists in cache
- // map. Otherwise, runs |callback| with false.
- // |md5| can be empty if only matching |resource_id| is desired.
+ // Gets the cache entry for file corresponding to |resource_id| and runs
+ // |callback| with true and the entry found if entry exists in cache map.
+ // Otherwise, runs |callback| with false.
// |callback| must not be null.
// Must be called on the UI thread.
void GetCacheEntryOnUIThread(const std::string& resource_id,
- const std::string& md5,
const GetCacheEntryCallback& callback);
- // Gets the cache entry by the given resource ID and MD5.
+ // Gets the cache entry by the given resource ID.
// See also GetCacheEntryOnUIThread().
bool GetCacheEntry(const std::string& resource_id,
- const std::string& md5,
FileCacheEntry* entry);
// Runs Iterate() with |iteration_callback| on |blocking_task_runner_| and