Cancel MD5 update on shutdown
commit246e4a8035a7cd4a13bcd828b6501b8475b7df70
authorhashimoto <hashimoto@chromium.org>
Fri, 17 Apr 2015 07:44:49 +0000 (17 00:44 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Apr 2015 07:45:12 +0000 (17 07:45 +0000)
tree627fc997faf5a1a4f99813509d8037093f8f6d0f
parent5ec59f44b501ca90731a2cdf734b05f33c5f8723
Cancel MD5 update on shutdown

Add base::CancellationFlag argument to drive::util::GetMd5Digest().
Add base::CancellationFlag member to FileCache. This flag is set in FileCache::Destroy().

BUG=477572

Review URL: https://codereview.chromium.org/1052733004

Cr-Commit-Position: refs/heads/master@{#325608}
chrome/browser/chromeos/drive/file_cache.cc
chrome/browser/chromeos/drive/file_cache.h
chrome/browser/drive/drive_api_util.cc
chrome/browser/drive/drive_api_util.h
chrome/browser/drive/drive_api_util_unittest.cc
chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc