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 // The Safe Browsing service is responsible for downloading anti-phishing and | 5 // The Safe Browsing service is responsible for downloading anti-phishing and |
6 // anti-malware tables and checking urls against them. | 6 // anti-malware tables and checking urls against them. |
7 | 7 |
8 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ | 8 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ |
9 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ | 9 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/callback.h" | 15 #include "base/callback.h" |
16 #include "base/callback_list.h" | 16 #include "base/callback_list.h" |
17 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
20 #include "base/observer_list.h" | 20 #include "base/observer_list.h" |
21 #include "base/sequenced_task_runner_helpers.h" | 21 #include "base/sequenced_task_runner_helpers.h" |
22 #include "chrome/browser/safe_browsing/services_delegate.h" | 22 #include "chrome/browser/safe_browsing/services_delegate.h" |
23 #include "components/safe_browsing_db/safe_browsing_prefs.h" | 23 #include "components/safe_browsing/common/safe_browsing_prefs.h" |
24 #include "components/safe_browsing_db/util.h" | 24 #include "components/safe_browsing_db/util.h" |
25 #include "components/safe_browsing_db/v4_feature_list.h" | 25 #include "components/safe_browsing_db/v4_feature_list.h" |
26 #include "content/public/browser/browser_thread.h" | 26 #include "content/public/browser/browser_thread.h" |
27 #include "content/public/browser/notification_observer.h" | 27 #include "content/public/browser/notification_observer.h" |
28 #include "content/public/browser/notification_registrar.h" | 28 #include "content/public/browser/notification_registrar.h" |
29 | 29 |
30 #if defined(FULL_SAFE_BROWSING) | 30 #if defined(FULL_SAFE_BROWSING) |
31 #include "chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callb
ack.h" | 31 #include "chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callb
ack.h" |
32 #endif | 32 #endif |
33 | 33 |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 SafeBrowsingServiceFactory() { } | 373 SafeBrowsingServiceFactory() { } |
374 virtual ~SafeBrowsingServiceFactory() { } | 374 virtual ~SafeBrowsingServiceFactory() { } |
375 virtual SafeBrowsingService* CreateSafeBrowsingService() = 0; | 375 virtual SafeBrowsingService* CreateSafeBrowsingService() = 0; |
376 private: | 376 private: |
377 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingServiceFactory); | 377 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingServiceFactory); |
378 }; | 378 }; |
379 | 379 |
380 } // namespace safe_browsing | 380 } // namespace safe_browsing |
381 | 381 |
382 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ | 382 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ |
OLD | NEW |