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 |