Index: net/reporting/reporting_persister.h |
diff --git a/net/reporting/reporting_persister.h b/net/reporting/reporting_persister.h |
index 27463a516bf7d781be38ffc15fc79def83b7e2d9..c6b52f87148563d41e7805523cfcab907504a528 100644 |
--- a/net/reporting/reporting_persister.h |
+++ b/net/reporting/reporting_persister.h |
@@ -9,30 +9,18 @@ |
#include "net/base/net_export.h" |
-namespace base { |
-class Timer; |
-} // namespace base |
- |
namespace net { |
class ReportingContext; |
-// Periodically persists the state of the Reporting system to (reasonably) |
-// stable storage using the methods provided by the ReportingDelegate. |
+// Will persist the state of the Reporting system to (reasonably) stable |
+// storage using an as-yet-unwritten persistence mechanism within //net. |
class NET_EXPORT ReportingPersister { |
public: |
// Creates a ReportingPersister. |context| must outlive the persister. |
static std::unique_ptr<ReportingPersister> Create(ReportingContext* context); |
virtual ~ReportingPersister(); |
- |
- // Initializes the Persister, which deserializes any previously-persisted data |
- // that is available through the Context's Delegate. |
- virtual void Initialize() = 0; |
- |
- // Replaces the internal Timer used for scheduling writes to stable storage |
- // with a caller-specified one so that unittests can provide a MockTimer. |
- virtual void SetTimerForTesting(std::unique_ptr<base::Timer> timer) = 0; |
}; |
} // namespace net |