Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1780)

Unified Diff: content/browser/download/mock_download_file.cc

Issue 8404049: Added member data to classes to support download resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rearranged structures for greater consistency. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/download/mock_download_file.cc
diff --git a/content/browser/download/mock_download_file.cc b/content/browser/download/mock_download_file.cc
index 8165bc0d4afcb9a933e061794dad1922a872d17e..f6f407064154e89c9d93ae8949535e6d914bcee8 100644
--- a/content/browser/download/mock_download_file.cc
+++ b/content/browser/download/mock_download_file.cc
@@ -107,6 +107,14 @@ bool MockDownloadFile::GetSha256Hash(std::string* hash) {
return false;
}
+std::string MockDownloadFile::GetSha256HashState() {
+ return "";
+}
+
+bool MockDownloadFile::SetSha256HashState(const std::string& hash_state) {
+ return false;
+}
+
// DownloadFileInterface implementation.
void MockDownloadFile::CancelDownloadRequest() {
}

Powered by Google App Engine
This is Rietveld 408576698