1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.h"
7 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h"
9 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
11 namespace safe_browsing {
13 void RegisterBlacklistLoadAnalysis() {
15 scoped_refptr<SafeBrowsingService> safe_browsing_service(
16 g_browser_process->safe_browsing_service());
18 safe_browsing_service->RegisterDelayedAnalysisCallback(
19 base::Bind(&VerifyBlacklistLoadState));
24 void VerifyBlacklistLoadState(const AddIncidentCallback& callback) {
27 bool GetLoadedBlacklistedModules(std::vector<base::string16>* module_names) {
30 #endif // !defined(OS_WIN)
32 } // namespace safe_browsing