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

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

Issue 2854263003: Add quiet safe browsing interstitial for WebView (Closed)
Patch Set: Fix unit test Created 3 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
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc ('k') | components/OWNERS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 virtual SafeBrowsingProtocolManagerDelegate* GetProtocolManagerDelegate(); 227 virtual SafeBrowsingProtocolManagerDelegate* GetProtocolManagerDelegate();
228 228
229 std::unique_ptr<ServicesDelegate> services_delegate_; 229 std::unique_ptr<ServicesDelegate> services_delegate_;
230 230
231 private: 231 private:
232 friend class SafeBrowsingServiceFactoryImpl; 232 friend class SafeBrowsingServiceFactoryImpl;
233 friend struct content::BrowserThread::DeleteOnThread< 233 friend struct content::BrowserThread::DeleteOnThread<
234 content::BrowserThread::UI>; 234 content::BrowserThread::UI>;
235 friend class base::DeleteHelper<SafeBrowsingService>; 235 friend class base::DeleteHelper<SafeBrowsingService>;
236 friend class SafeBrowsingBlockingPageTest; 236 friend class SafeBrowsingBlockingPageTest;
237 friend class SafeBrowsingBlockingQuietPageTest;
237 friend class SafeBrowsingServerTest; 238 friend class SafeBrowsingServerTest;
238 friend class SafeBrowsingServiceTest; 239 friend class SafeBrowsingServiceTest;
239 friend class SafeBrowsingURLRequestContextGetter; 240 friend class SafeBrowsingURLRequestContextGetter;
240 friend class TestSafeBrowsingService; 241 friend class TestSafeBrowsingService;
241 friend class TestSafeBrowsingServiceFactory; 242 friend class TestSafeBrowsingServiceFactory;
242 243
243 // Called to initialize objects that are used on the io_thread. This may be 244 // Called to initialize objects that are used on the io_thread. This may be
244 // called multiple times during the life of the SafeBrowsingService. 245 // called multiple times during the life of the SafeBrowsingService.
245 void StartOnIOThread( 246 void StartOnIOThread(
246 net::URLRequestContextGetter* url_request_context_getter); 247 net::URLRequestContextGetter* url_request_context_getter);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 SafeBrowsingServiceFactory() { } 374 SafeBrowsingServiceFactory() { }
374 virtual ~SafeBrowsingServiceFactory() { } 375 virtual ~SafeBrowsingServiceFactory() { }
375 virtual SafeBrowsingService* CreateSafeBrowsingService() = 0; 376 virtual SafeBrowsingService* CreateSafeBrowsingService() = 0;
376 private: 377 private:
377 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingServiceFactory); 378 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingServiceFactory);
378 }; 379 };
379 380
380 } // namespace safe_browsing 381 } // namespace safe_browsing
381 382
382 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ 383 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc ('k') | components/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698