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

Unified Diff: content/public/test/test_download_request_handler.h

Issue 2819483002: Parallel download browser test. (Closed)
Patch Set: Fix compiling. 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/public/test/test_download_request_handler.h
diff --git a/content/public/test/test_download_request_handler.h b/content/public/test/test_download_request_handler.h
index 4daff5c4548e9c7f9206e53b842e15ddb22ed6d0..629d8d6172b0e906d97785f9c33ce5f22548417b 100644
--- a/content/public/test/test_download_request_handler.h
+++ b/content/public/test/test_download_request_handler.h
@@ -147,6 +147,9 @@ class TestDownloadRequestHandler : public base::NonThreadSafe {
// If true, the response contains a 'Accept-Ranges: bytes' header.
bool support_byte_ranges;
+ // The connection type in the response.
+ net::HttpResponseInfo::ConnectionInfo connection_type;
+
// If on_start_handler is valid, it will be invoked when a new request is
// received. See details about the OnStartHandler above.
OnStartHandler on_start_handler;
« no previous file with comments | « content/browser/download/parallel_download_utils.cc ('k') | content/public/test/test_download_request_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698