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

Side by Side Diff: components/safe_browsing_db/hit_report.h

Issue 1624723002: Move remote_db_manager into the safe_browsing_db component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fetch, rebase, format Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « components/safe_browsing_db/DEPS ('k') | components/safe_browsing_db/metadata.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 // Datastructures that hold details of a Safe Browsing hit for reporting. 5 // Datastructures that hold details of a Safe Browsing hit for reporting.
6 6
7 #ifndef CHROME_BROWSER_SAFE_BROWSING_HIT_REPORT_H_ 7 #ifndef COMPONENTS_SAFE_BROWSING_DB_HIT_REPORT_H_
8 #define CHROME_BROWSER_SAFE_BROWSING_HIT_REPORT_H_ 8 #define COMPONENTS_SAFE_BROWSING_DB_HIT_REPORT_H_
9 9
10 #include "components/safe_browsing_db/util.h" 10 #include "components/safe_browsing_db/util.h"
11 #include "url/gurl.h" 11 #include "url/gurl.h"
12 12
13 namespace safe_browsing { 13 namespace safe_browsing {
14 14
15 // What service classified this threat as unsafe. 15 // What service classified this threat as unsafe.
16 enum class ThreatSource { 16 enum class ThreatSource {
17 UNKNOWN, 17 UNKNOWN,
18 DATA_SAVER, // From the Data Reduction service. 18 DATA_SAVER, // From the Data Reduction service.
(...skipping 17 matching lines...) Expand all
36 SBThreatType threat_type; 36 SBThreatType threat_type;
37 ThreatSource threat_source; 37 ThreatSource threat_source;
38 bool is_extended_reporting; 38 bool is_extended_reporting;
39 bool is_metrics_reporting_active; 39 bool is_metrics_reporting_active;
40 40
41 std::string post_data; 41 std::string post_data;
42 }; 42 };
43 43
44 } // namespace safe_browsing 44 } // namespace safe_browsing
45 45
46 #endif // CHROME_BROWSER_SAFE_BROWSING_HIT_REPORT_H_ 46 #endif // COMPONENTS_SAFE_BROWSING_DB_HIT_REPORT_H_
OLDNEW
« no previous file with comments | « components/safe_browsing_db/DEPS ('k') | components/safe_browsing_db/metadata.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698