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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h

Issue 562223002: Release resources properly from safe browsing incident reporting service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@collect
Patch Set: Created 6 years, 3 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
Index: chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h
index 1b9f3d302adc12cd661a507640e1fc2a586f6f04..d180288c89a4f18f24c616a32159c88e9f03584e 100644
--- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h
+++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h
@@ -129,6 +129,9 @@ class IncidentReportingService : public content::NotificationObserver {
const scoped_refptr<net::URLRequestContextGetter>& request_context_getter,
const ClientIncidentReport& report);
+ // Returns true if a report is currently being processed.
+ bool IsProcessingReport() const;
+
private:
struct ProfileContext;
class UploadContext;

Powered by Google App Engine
This is Rietveld 408576698