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

Unified Diff: chrome/browser/safe_browsing/services_delegate_impl.h

Issue 2647323009: Add extended reporting level in the update request (Closed)
Patch Set: rebase Created 3 years, 11 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/services_delegate_impl.h
diff --git a/chrome/browser/safe_browsing/services_delegate_impl.h b/chrome/browser/safe_browsing/services_delegate_impl.h
index e975b83914bcb5677d947af39b4d6151da87abf3..acd95d7971d36852c6dc8369f232f808336786b7 100644
--- a/chrome/browser/safe_browsing/services_delegate_impl.h
+++ b/chrome/browser/safe_browsing/services_delegate_impl.h
@@ -51,6 +51,14 @@ class ServicesDelegateImpl : public ServicesDelegate {
const V4ProtocolConfig& v4_config) override;
void StopOnIOThread(bool shutdown) override;
+ // Reports the current extended reporting level. Note that this is an
+ // estimation and may not always be correct. It is possible that the
+ // estimation finds both Scout and legacy extended reporting to be enabled.
+ // This can happen, for instance, if one profile has Scout enabled and another
+ // has legacy extended reporting enabled. In such a case, this method reports
+ // LEGACY as the current level.
+ ExtendedReportingLevel GetEstimatedExtendedReportingLevel() const;
+
DownloadProtectionService* CreateDownloadProtectionService();
IncidentReportingService* CreateIncidentReportingService();
ResourceRequestDetector* CreateResourceRequestDetector();
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | chrome/browser/safe_browsing/services_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698