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

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

Issue 2823273004: Add new UMA stats for parallelizable download (Closed)
Patch Set: Created 3 years, 8 months 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.h
diff --git a/content/browser/download/mock_download_file.h b/content/browser/download/mock_download_file.h
index 81d3b260ef61f6929fcdaf505b42e2ea8e4c3dd5..c45e0dd56fae2a58033305c34ae93d266279bdfc 100644
--- a/content/browser/download/mock_download_file.h
+++ b/content/browser/download/mock_download_file.h
@@ -28,9 +28,10 @@ class MockDownloadFile : public DownloadFile {
virtual ~MockDownloadFile();
// DownloadFile functions.
- MOCK_METHOD2(Initialize,
+ MOCK_METHOD3(Initialize,
void(const InitializeCallback&,
- const DownloadItem::ReceivedSlices& received_slices));
+ const DownloadItem::ReceivedSlices& received_slices,
+ bool is_parallelizable));
void AddByteStream(std::unique_ptr<ByteStreamReader> stream_reader,
int64_t offset,
int64_t length) override;

Powered by Google App Engine
This is Rietveld 408576698