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

Unified Diff: net/url_request/report_sender.h

Issue 2385003002: Remove stl_util's deletion functions from net/url_request/. (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | net/url_request/report_sender.cc » ('j') | net/url_request/report_sender.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/report_sender.h
diff --git a/net/url_request/report_sender.h b/net/url_request/report_sender.h
index 0bcf28737f5642557acd7337203c6ae3f8ba71a4..ac0436218245e6f6484a3dd3dd6856196105c8c6 100644
--- a/net/url_request/report_sender.h
+++ b/net/url_request/report_sender.h
@@ -68,8 +68,7 @@ class NET_EXPORT ReportSender
CookiesPreference cookies_preference_;
- // Owns the contained requests.
- std::set<URLRequest*> inflight_requests_;
+ std::set<std::unique_ptr<URLRequest>> inflight_requests_;
// Called when a sent report results in an error.
ErrorCallback error_callback_;
« no previous file with comments | « no previous file | net/url_request/report_sender.cc » ('j') | net/url_request/report_sender.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698