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

Unified Diff: components/download/internal/test/entry_utils.h

Issue 2881173003: Download Service : Added leveldb proto layer (Closed)
Patch Set: Removed Model::Destroy 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
« no previous file with comments | « components/download/internal/test/BUILD.gn ('k') | components/download/internal/test/entry_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/download/internal/test/entry_utils.h
diff --git a/components/download/internal/test/entry_utils.h b/components/download/internal/test/entry_utils.h
index 2a7b422fe07e27705d3c14ca06bb64d38112fd6b..54144be668b1b59dbc24c7aed241b65c9648e4e0 100644
--- a/components/download/internal/test/entry_utils.h
+++ b/components/download/internal/test/entry_utils.h
@@ -13,14 +13,26 @@
namespace download {
namespace test {
-bool SuperficialEntryCompare(const Entry* const& expected,
- const Entry* const& actual);
+bool CompareEntry(const Entry* const& expected, const Entry* const& actual);
-bool SuperficialEntryListCompare(const std::vector<Entry*>& a,
- const std::vector<Entry*>& b);
+bool CompareEntryList(const std::vector<Entry*>& a,
+ const std::vector<Entry*>& b);
+
+bool CompareEntryList(const std::vector<Entry>& list1,
+ const std::vector<Entry>& list2);
Entry BuildEntry(DownloadClient client, const std::string& guid);
+Entry BuildEntry(DownloadClient client,
+ const std::string& guid,
+ base::Time cancel_time,
+ SchedulingParams::NetworkRequirements network_requirements,
+ SchedulingParams::BatteryRequirements battery_requirements,
+ SchedulingParams::Priority priority,
+ const GURL& url,
+ const std::string& request_method,
+ Entry::State state);
+
} // namespace test
} // namespace download
« no previous file with comments | « components/download/internal/test/BUILD.gn ('k') | components/download/internal/test/entry_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698