OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_DOMAIN_REQUEST_INCIDENT_
H_ |
| 6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_DOMAIN_REQUEST_INCIDENT_
H_ |
| 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "chrome/browser/safe_browsing/incident_reporting/incident.h" |
| 10 |
| 11 namespace safe_browsing { |
| 12 |
| 13 class ClientIncidentReport_IncidentData_DomainRequestIncident; |
| 14 |
| 15 // Represents a suspicious domain detection incident. |
| 16 class DomainRequestIncident : public Incident { |
| 17 public: |
| 18 explicit DomainRequestIncident( |
| 19 scoped_ptr<ClientIncidentReport_IncidentData_DomainRequestIncident> |
| 20 domain_detection_incident); |
| 21 ~DomainRequestIncident() override; |
| 22 |
| 23 // Incident methods: |
| 24 IncidentType GetType() const override; |
| 25 std::string GetKey() const override; |
| 26 uint32_t ComputeDigest() const override; |
| 27 |
| 28 private: |
| 29 DISALLOW_COPY_AND_ASSIGN(DomainRequestIncident); |
| 30 }; |
| 31 |
| 32 } // namespace safe_browsing |
| 33 |
| 34 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_DOMAIN_REQUEST_INCIDE
NT_H_ |
OLD | NEW |