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 #pragma once | |
11 | 10 |
12 #include <deque> | 11 #include <deque> |
13 #include <map> | 12 #include <map> |
14 #include <set> | 13 #include <set> |
15 #include <string> | 14 #include <string> |
16 #include <vector> | 15 #include <vector> |
17 | 16 |
18 #include "base/callback.h" | 17 #include "base/callback.h" |
19 #include "base/file_path.h" | 18 #include "base/file_path.h" |
20 #include "base/hash_tables.h" | 19 #include "base/hash_tables.h" |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 class SafeBrowsingServiceFactory { | 597 class SafeBrowsingServiceFactory { |
599 public: | 598 public: |
600 SafeBrowsingServiceFactory() { } | 599 SafeBrowsingServiceFactory() { } |
601 virtual ~SafeBrowsingServiceFactory() { } | 600 virtual ~SafeBrowsingServiceFactory() { } |
602 virtual SafeBrowsingService* CreateSafeBrowsingService() = 0; | 601 virtual SafeBrowsingService* CreateSafeBrowsingService() = 0; |
603 private: | 602 private: |
604 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingServiceFactory); | 603 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingServiceFactory); |
605 }; | 604 }; |
606 | 605 |
607 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ | 606 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ |
OLD | NEW |