Chromium Code Reviews| 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 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 50 struct SafeBrowsingProtocolConfig; | 50 struct SafeBrowsingProtocolConfig; |
| 51 class SafeBrowsingDatabaseManager; | 51 class SafeBrowsingDatabaseManager; |
| 52 class SafeBrowsingPingManager; | 52 class SafeBrowsingPingManager; |
| 53 class SafeBrowsingProtocolManager; | 53 class SafeBrowsingProtocolManager; |
| 54 class SafeBrowsingProtocolManagerDelegate; | 54 class SafeBrowsingProtocolManagerDelegate; |
| 55 class SafeBrowsingServiceFactory; | 55 class SafeBrowsingServiceFactory; |
| 56 class SafeBrowsingUIManager; | 56 class SafeBrowsingUIManager; |
| 57 class SafeBrowsingURLRequestContextGetter; | 57 class SafeBrowsingURLRequestContextGetter; |
| 58 struct V4ProtocolConfig; | 58 struct V4ProtocolConfig; |
| 59 | 59 |
| 60 #if defined(FULL_SAFE_BROWSING) | 60 #if defined(FULL_SAFE_BROWSING) |
|
Nathan Parker
2016/05/16 16:40:10
Delete this line as well, and the ifdef, since it
Joe Mason
2016/05/16 19:35:12
Done.
| |
| 61 class IncidentReportingService; | 61 class IncidentReportingService; |
| 62 class OffDomainInclusionDetector; | |
| 63 #endif | 62 #endif |
| 64 | 63 |
| 65 // Construction needs to happen on the main thread. | 64 // Construction needs to happen on the main thread. |
| 66 // The SafeBrowsingService owns both the UI and Database managers which do | 65 // The SafeBrowsingService owns both the UI and Database managers which do |
| 67 // the heavylifting of safebrowsing service. Both of these managers stay | 66 // the heavylifting of safebrowsing service. Both of these managers stay |
| 68 // alive until SafeBrowsingService is destroyed, however, they are disabled | 67 // alive until SafeBrowsingService is destroyed, however, they are disabled |
| 69 // permanently when Shutdown method is called. | 68 // permanently when Shutdown method is called. |
| 70 class SafeBrowsingService : public base::RefCountedThreadSafe< | 69 class SafeBrowsingService : public base::RefCountedThreadSafe< |
| 71 SafeBrowsingService, | 70 SafeBrowsingService, |
| 72 content::BrowserThread::DeleteOnUIThread>, | 71 content::BrowserThread::DeleteOnUIThread>, |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 291 SafeBrowsingServiceFactory() { } | 290 SafeBrowsingServiceFactory() { } |
| 292 virtual ~SafeBrowsingServiceFactory() { } | 291 virtual ~SafeBrowsingServiceFactory() { } |
| 293 virtual SafeBrowsingService* CreateSafeBrowsingService() = 0; | 292 virtual SafeBrowsingService* CreateSafeBrowsingService() = 0; |
| 294 private: | 293 private: |
| 295 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingServiceFactory); | 294 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingServiceFactory); |
| 296 }; | 295 }; |
| 297 | 296 |
| 298 } // namespace safe_browsing | 297 } // namespace safe_browsing |
| 299 | 298 |
| 300 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ | 299 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ |
| OLD | NEW |