| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_INCIDENT_REPORTING_SERVI
CE_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_INCIDENT_REPORTING_SERVI
CE_H_ |
| 6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_INCIDENT_REPORTING_SERVI
CE_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_INCIDENT_REPORTING_SERVI
CE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 #if !defined(GOOGLE_CHROME_BUILD) | 49 #if !defined(GOOGLE_CHROME_BUILD) |
| 50 extern const base::Feature kIncidentReportingDisableUpload; | 50 extern const base::Feature kIncidentReportingDisableUpload; |
| 51 #endif | 51 #endif |
| 52 | 52 |
| 53 class ClientDownloadRequest; | 53 class ClientDownloadRequest; |
| 54 class ClientIncidentReport; | 54 class ClientIncidentReport; |
| 55 class ClientIncidentReport_DownloadDetails; | 55 class ClientIncidentReport_DownloadDetails; |
| 56 class ClientIncidentReport_EnvironmentData; | 56 class ClientIncidentReport_EnvironmentData; |
| 57 class ClientIncidentReport_ExtensionData; | 57 class ClientIncidentReport_ExtensionData; |
| 58 class ClientIncidentReport_IncidentData; | |
| 59 class Incident; | 58 class Incident; |
| 60 class IncidentReceiver; | 59 class IncidentReceiver; |
| 61 class SafeBrowsingDatabaseManager; | 60 class SafeBrowsingDatabaseManager; |
| 62 class SafeBrowsingService; | 61 class SafeBrowsingService; |
| 63 | 62 |
| 64 // A class that manages the collection of incidents and submission of incident | 63 // A class that manages the collection of incidents and submission of incident |
| 65 // reports to the safe browsing client-side detection service. The service | 64 // reports to the safe browsing client-side detection service. The service |
| 66 // begins operation when an incident is reported via the AddIncident method. | 65 // begins operation when an incident is reported via the AddIncident method. |
| 67 // Incidents reported from a profile that is loading are held until the profile | 66 // Incidents reported from a profile that is loading are held until the profile |
| 68 // is fully created. Incidents originating from profiles that do not participate | 67 // is fully created. Incidents originating from profiles that do not participate |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 // that are posted during normal processing (e.g., environment collection, | 360 // that are posted during normal processing (e.g., environment collection, |
| 362 // safe browsing database checks, and report uploads). | 361 // safe browsing database checks, and report uploads). |
| 363 base::WeakPtrFactory<IncidentReportingService> weak_ptr_factory_; | 362 base::WeakPtrFactory<IncidentReportingService> weak_ptr_factory_; |
| 364 | 363 |
| 365 DISALLOW_COPY_AND_ASSIGN(IncidentReportingService); | 364 DISALLOW_COPY_AND_ASSIGN(IncidentReportingService); |
| 366 }; | 365 }; |
| 367 | 366 |
| 368 } // namespace safe_browsing | 367 } // namespace safe_browsing |
| 369 | 368 |
| 370 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_INCIDENT_REPORTING_SE
RVICE_H_ | 369 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_INCIDENT_REPORTING_SE
RVICE_H_ |
| OLD | NEW |