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

Unified Diff: components/download/internal/driver_entry.cc

Issue 2880933002: Download driver for components/download. (Closed)
Patch Set: Polish manager logic. 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/internal/driver_entry.cc
diff --git a/components/download/internal/driver_entry.cc b/components/download/internal/driver_entry.cc
new file mode 100644
index 0000000000000000000000000000000000000000..88ab03df2403d9505f4aa88d7d10fefe0b09a0af
--- /dev/null
+++ b/components/download/internal/driver_entry.cc
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/download/internal/driver_entry.h"
+
+#include "net/http/http_response_headers.h"
+
+namespace download {
+
+DriverEntry::DriverEntry()
+ : state(State::UNKNOWN),
+ paused(false),
+ bytes_downloaded(0u),
+ expected_total_size(0u) {}
+
+DriverEntry::DriverEntry(const DriverEntry& other) = default;
+
+DriverEntry::~DriverEntry() = default;
+
+} // namespace download

Powered by Google App Engine
This is Rietveld 408576698