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

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

Issue 2371043003: Small: Start checking URLs using PVer4. Verdict not returned to client yet. (Closed)
Patch Set: shess@'s review Created 4 years, 2 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 #include "chrome/browser/safe_browsing/safe_browsing_service.h" 5 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 #else 393 #else
394 return nullptr; 394 return nullptr;
395 #endif 395 #endif
396 } 396 }
397 397
398 SafeBrowsingPingManager* SafeBrowsingService::ping_manager() const { 398 SafeBrowsingPingManager* SafeBrowsingService::ping_manager() const {
399 DCHECK_CURRENTLY_ON(BrowserThread::IO); 399 DCHECK_CURRENTLY_ON(BrowserThread::IO);
400 return ping_manager_.get(); 400 return ping_manager_.get();
401 } 401 }
402 402
403 const scoped_refptr<V4LocalDatabaseManager>&
404 SafeBrowsingService::v4_local_database_manager() const {
405 return services_delegate_->v4_local_database_manager();
406 }
407
403 std::unique_ptr<TrackedPreferenceValidationDelegate> 408 std::unique_ptr<TrackedPreferenceValidationDelegate>
404 SafeBrowsingService::CreatePreferenceValidationDelegate( 409 SafeBrowsingService::CreatePreferenceValidationDelegate(
405 Profile* profile) const { 410 Profile* profile) const {
406 return services_delegate_->CreatePreferenceValidationDelegate(profile); 411 return services_delegate_->CreatePreferenceValidationDelegate(profile);
407 } 412 }
408 413
409 void SafeBrowsingService::RegisterDelayedAnalysisCallback( 414 void SafeBrowsingService::RegisterDelayedAnalysisCallback(
410 const DelayedAnalysisCallback& callback) { 415 const DelayedAnalysisCallback& callback) {
411 services_delegate_->RegisterDelayedAnalysisCallback(callback); 416 services_delegate_->RegisterDelayedAnalysisCallback(callback);
412 } 417 }
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 ping_manager()->ReportThreatDetails(report); 700 ping_manager()->ReportThreatDetails(report);
696 } 701 }
697 702
698 void SafeBrowsingService::ProcessResourceRequest( 703 void SafeBrowsingService::ProcessResourceRequest(
699 const ResourceRequestInfo& request) { 704 const ResourceRequestInfo& request) {
700 DCHECK_CURRENTLY_ON(BrowserThread::UI); 705 DCHECK_CURRENTLY_ON(BrowserThread::UI);
701 services_delegate_->ProcessResourceRequest(&request); 706 services_delegate_->ProcessResourceRequest(&request);
702 } 707 }
703 708
704 } // namespace safe_browsing 709 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698