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

Unified Diff: components/download/public/download_params.cc

Issue 2870753003: Add a Model to the download component. (Closed)
Patch Set: Created 3 years, 7 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: components/download/public/download_params.cc
diff --git a/components/download/public/download_params.cc b/components/download/public/download_params.cc
index d0be2882e0161afb87532e929a671ba924d5d415..4378c51bf17b1e80fc271ec7f2704a603ad0dbf3 100644
--- a/components/download/public/download_params.cc
+++ b/components/download/public/download_params.cc
@@ -4,6 +4,8 @@
#include "components/download/public/download_params.h"
+#include <map>
xingliu 2017/05/09 06:11:41 nit: do we need this include?
David Trainor- moved to gerrit 2017/05/09 15:59:27 Oops not anymore.
+
#include "components/download/public/clients.h"
namespace download {
@@ -15,8 +17,7 @@ SchedulingParams::SchedulingParams()
RequestParams::RequestParams() : method("GET") {}
-DownloadParams::DownloadParams()
- : client(DownloadClient::DOWNLOAD_CLIENT_INVALID) {}
+DownloadParams::DownloadParams() : client(DownloadClient::INVALID) {}
DownloadParams::DownloadParams(const DownloadParams& other) = default;
« components/download/public/clients.h ('K') | « components/download/public/download_params.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698