| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 5 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #include "net/url_request/url_request_context.h" | 49 #include "net/url_request/url_request_context.h" |
| 50 #include "net/url_request/url_request_context_getter.h" | 50 #include "net/url_request/url_request_context_getter.h" |
| 51 | 51 |
| 52 #if defined(OS_WIN) | 52 #if defined(OS_WIN) |
| 53 #include "chrome/installer/util/browser_distribution.h" | 53 #include "chrome/installer/util/browser_distribution.h" |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 #if defined(SAFE_BROWSING_DB_LOCAL) | 56 #if defined(SAFE_BROWSING_DB_LOCAL) |
| 57 #include "chrome/browser/safe_browsing/local_database_manager.h" | 57 #include "chrome/browser/safe_browsing/local_database_manager.h" |
| 58 #elif defined(SAFE_BROWSING_DB_REMOTE) | 58 #elif defined(SAFE_BROWSING_DB_REMOTE) |
| 59 #include "components/safe_browsing_db/remote_database_manager.h" | 59 #include "chrome/browser/safe_browsing/remote_database_manager.h" |
| 60 #endif | 60 #endif |
| 61 | 61 |
| 62 #if defined(FULL_SAFE_BROWSING) | 62 #if defined(FULL_SAFE_BROWSING) |
| 63 #include "chrome/browser/safe_browsing/incident_reporting/binary_integrity_analy
zer.h" | 63 #include "chrome/browser/safe_browsing/incident_reporting/binary_integrity_analy
zer.h" |
| 64 #include "chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyze
r.h" | 64 #include "chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyze
r.h" |
| 65 #include "chrome/browser/safe_browsing/incident_reporting/incident_reporting_ser
vice.h" | 65 #include "chrome/browser/safe_browsing/incident_reporting/incident_reporting_ser
vice.h" |
| 66 #include "chrome/browser/safe_browsing/incident_reporting/resource_request_detec
tor.h" | 66 #include "chrome/browser/safe_browsing/incident_reporting/resource_request_detec
tor.h" |
| 67 #include "chrome/browser/safe_browsing/incident_reporting/variations_seed_signat
ure_analyzer.h" | 67 #include "chrome/browser/safe_browsing/incident_reporting/variations_seed_signat
ure_analyzer.h" |
| 68 #endif | 68 #endif |
| 69 | 69 |
| (...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 } | 656 } |
| 657 | 657 |
| 658 void SafeBrowsingService::OnSendDownloadRecoveryReport( | 658 void SafeBrowsingService::OnSendDownloadRecoveryReport( |
| 659 const std::string& report) { | 659 const std::string& report) { |
| 660 DCHECK_CURRENTLY_ON(BrowserThread::IO); | 660 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
| 661 if (ping_manager()) | 661 if (ping_manager()) |
| 662 ping_manager()->ReportThreatDetails(report); | 662 ping_manager()->ReportThreatDetails(report); |
| 663 } | 663 } |
| 664 | 664 |
| 665 } // namespace safe_browsing | 665 } // namespace safe_browsing |
| OLD | NEW |