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

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: Address review comments 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) 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698