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

Unified Diff: components/domain_reliability/test_util.h

Issue 291493004: Domain Reliability: Deduplicate some code into test_util (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 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/domain_reliability/scheduler_unittest.cc ('k') | components/domain_reliability/test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/test_util.h
diff --git a/components/domain_reliability/test_util.h b/components/domain_reliability/test_util.h
index 4c968eded8561964941e1dca9e23e0d520535ebc..a0fa27d752d61f982257ae2b44c2681cbcfec87a 100644
--- a/components/domain_reliability/test_util.h
+++ b/components/domain_reliability/test_util.h
@@ -6,7 +6,10 @@
#define COMPONENTS_DOMAIN_RELIABILITY_TEST_UTIL_H_
#include "base/callback.h"
+#include "base/memory/scoped_ptr.h"
+#include "components/domain_reliability/config.h"
#include "components/domain_reliability/monitor.h"
+#include "components/domain_reliability/scheduler.h"
#include "components/domain_reliability/uploader.h"
#include "components/domain_reliability/util.h"
#include "net/base/host_port_pair.h"
@@ -112,6 +115,9 @@ class MockTime : public MockableTime {
TaskMap tasks_;
};
+scoped_ptr<const DomainReliabilityConfig> MakeTestConfig();
+DomainReliabilityScheduler::Params MakeTestSchedulerParams();
+
} // namespace domain_reliability
#endif // COMPONENTS_DOMAIN_RELIABILITY_TEST_UTIL_H_
« no previous file with comments | « components/domain_reliability/scheduler_unittest.cc ('k') | components/domain_reliability/test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698