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

Side by Side Diff: chrome/browser/safe_browsing/safe_browsing_service.h

Issue 1970823002: Remove the unused OffDomainInclusionDetector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits Created 4 years, 7 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
OLDNEW
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
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)
61 class IncidentReportingService;
62 class OffDomainInclusionDetector;
63 #endif
64
65 // Construction needs to happen on the main thread. 60 // Construction needs to happen on the main thread.
66 // The SafeBrowsingService owns both the UI and Database managers which do 61 // The SafeBrowsingService owns both the UI and Database managers which do
67 // the heavylifting of safebrowsing service. Both of these managers stay 62 // the heavylifting of safebrowsing service. Both of these managers stay
68 // alive until SafeBrowsingService is destroyed, however, they are disabled 63 // alive until SafeBrowsingService is destroyed, however, they are disabled
69 // permanently when Shutdown method is called. 64 // permanently when Shutdown method is called.
70 class SafeBrowsingService : public base::RefCountedThreadSafe< 65 class SafeBrowsingService : public base::RefCountedThreadSafe<
71 SafeBrowsingService, 66 SafeBrowsingService,
72 content::BrowserThread::DeleteOnUIThread>, 67 content::BrowserThread::DeleteOnUIThread>,
73 public content::NotificationObserver { 68 public content::NotificationObserver {
74 public: 69 public:
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 SafeBrowsingServiceFactory() { } 286 SafeBrowsingServiceFactory() { }
292 virtual ~SafeBrowsingServiceFactory() { } 287 virtual ~SafeBrowsingServiceFactory() { }
293 virtual SafeBrowsingService* CreateSafeBrowsingService() = 0; 288 virtual SafeBrowsingService* CreateSafeBrowsingService() = 0;
294 private: 289 private:
295 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingServiceFactory); 290 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingServiceFactory);
296 }; 291 };
297 292
298 } // namespace safe_browsing 293 } // namespace safe_browsing
299 294
300 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ 295 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698