Index: net/reporting/reporting_persister_unittest.cc |
diff --git a/net/reporting/reporting_persister_unittest.cc b/net/reporting/reporting_persister_unittest.cc |
index c0bda9fe4775c01970e7aac6154a3e81a8356f27..1ac54c06e8debabd162f96ca93b1a2e9ec6c78bb 100644 |
--- a/net/reporting/reporting_persister_unittest.cc |
+++ b/net/reporting/reporting_persister_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "base/time/time.h" |
#include "base/timer/mock_timer.h" |
#include "base/values.h" |
+#include "net/base/test_completion_callback.h" |
#include "net/reporting/reporting_cache.h" |
#include "net/reporting/reporting_client.h" |
#include "net/reporting/reporting_policy.h" |
@@ -50,11 +51,13 @@ TEST_F(ReportingPersisterTest, DISABLED_Test) { |
kGroup_, |
tick_clock()->NowTicks() + base::TimeDelta::FromDays(1)); |
- // TODO: Actually trigger persistence, once it's possible. |
+ // TODO: Actually save data, once it's possible. |
SimulateRestart(/* delta= */ base::TimeDelta::FromHours(1), |
/* delta_ticks= */ base::TimeDelta::FromHours(-3)); |
+ // TODO: Actually load data, once it's possible. |
+ |
std::vector<const ReportingReport*> reports; |
cache()->GetReports(&reports); |
ASSERT_EQ(1u, reports.size()); |
@@ -76,5 +79,7 @@ TEST_F(ReportingPersisterTest, DISABLED_Test) { |
client->expires); |
} |
+// TODO(juliatuttle): Test asynchronous behavior. |
+ |
} // namespace |
} // namespace net |