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

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

Issue 2881173003: Download Service : Added leveldb proto layer (Closed)
Patch Set: More unittests 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/test/entry_utils.h
diff --git a/components/download/internal/test/entry_utils.h b/components/download/internal/test/entry_utils.h
index 2a7b422fe07e27705d3c14ca06bb64d38112fd6b..e01efd3ba7f8025d8dcd5db089f2a8a4b8a71da8 100644
--- a/components/download/internal/test/entry_utils.h
+++ b/components/download/internal/test/entry_utils.h
@@ -16,11 +16,24 @@ namespace test {
bool SuperficialEntryCompare(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

Powered by Google App Engine
This is Rietveld 408576698