Index: content/browser/download/base_file.cc |
=================================================================== |
--- content/browser/download/base_file.cc (revision 152281) |
+++ content/browser/download/base_file.cc (working copy) |
@@ -220,6 +220,7 @@ |
calculate_hash_(calculate_hash), |
detached_(false), |
bound_net_log_(bound_net_log) { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); |
memcpy(sha256_hash_, kEmptySha256Hash, kSha256HashLen); |
if (file_stream_.get()) { |
file_stream_->SetBoundNetLogSource(bound_net_log_); |