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

Unified Diff: net/reporting/reporting_service.h

Issue 2835923005: Reporting: Remove persistence for now. (Closed)
Patch Set: Created 3 years, 8 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 | « net/reporting/reporting_persister_unittest.cc ('k') | net/reporting/reporting_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/reporting/reporting_service.h
diff --git a/net/reporting/reporting_service.h b/net/reporting/reporting_service.h
index c305410a1a6a5113e9d9aeddfdc45bfa471ed2f0..831e07119666717df47c4de497a77e03b94c60c9 100644
--- a/net/reporting/reporting_service.h
+++ b/net/reporting/reporting_service.h
@@ -21,7 +21,6 @@ class Value;
namespace net {
class ReportingContext;
-class ReportingDelegate;
struct ReportingPolicy;
class URLRequestContext;
@@ -32,12 +31,10 @@ class NET_EXPORT ReportingService {
virtual ~ReportingService();
// Creates a ReportingService. |policy| will be copied. |request_context| must
- // outlive the ReportingService. The ReportingService will take ownership of
- // |delegate| and destroy it when the service is destroyed.
+ // outlive the ReportingService.
static std::unique_ptr<ReportingService> Create(
const ReportingPolicy& policy,
- URLRequestContext* request_context,
- std::unique_ptr<ReportingDelegate> delegate);
+ URLRequestContext* request_context);
// Creates a ReportingService for testing purposes using an
// already-constructed ReportingContext. The ReportingService will take
« no previous file with comments | « net/reporting/reporting_persister_unittest.cc ('k') | net/reporting/reporting_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698