// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Datastructures that hold details of a Safe Browsing hit for reporting. #ifndef COMPONENTS_SAFE_BROWSING_CORE_BROWSER_DB_HIT_REPORT_H_ #define COMPONENTS_SAFE_BROWSING_CORE_BROWSER_DB_HIT_REPORT_H_ #include "components/safe_browsing/core/browser/db/util.h" #include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "url/gurl.h" namespace safe_browsing { // What service classified this threat as unsafe. enum class ThreatSource { … }; // Data to report about the contents of a particular threat (malware, phishing, // unsafe download URL). If post_data is non-empty, the request will be // sent as a POST instead of a GET. struct HitReport { … }; } // namespace safe_browsing #endif // COMPONENTS_SAFE_BROWSING_CORE_BROWSER_DB_HIT_REPORT_H_