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

Unified Diff: components/history/content/browser/download_database_helper.h

Issue 2703883003: Read and restore persisted slice info (Closed)
Patch Set: Created 3 years, 10 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/history/content/browser/download_database_helper.h
diff --git a/components/history/content/browser/download_database_helper.h b/components/history/content/browser/download_database_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..a3a6a84325a2d883ebf8b9469ce2c3def0317f71
--- /dev/null
+++ b/components/history/content/browser/download_database_helper.h
@@ -0,0 +1,20 @@
+// 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.
+
+#ifndef COMPONENTS_HISTORY_CONTENT_BROWSER_DOWNLOAD_DATABASE_HELPER_H_
+#define COMPONENTS_HISTORY_CONTENT_BROWSER_DOWNLOAD_DATABASE_HELPER_H_
+
+#include <vector>
+
+#include "components/history/core/browser/download_slice_info.h"
+#include "content/public/browser/download_item.h"
+
+namespace history {
+
+std::vector<content::DownloadItem::ReceivedSlice> ToContentReceivedSlices(
+ const std::vector<DownloadSliceInfo>& info);
+
+} // namespace history
+
+#endif // COMPONENTS_HISTORY_CONTENT_BROWSER_DOWNLOAD_DATABASE_HELPER_H_
« no previous file with comments | « components/history/content/browser/BUILD.gn ('k') | components/history/content/browser/download_database_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698