Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_MODULE_LOAD_ANALYZER_H_ | |
| 6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_MODULE_LOAD_ANALYZER_H_ | |
| 7 | |
| 8 #include "base/feature_list.h" | |
|
grt (UTC plus 2)
2016/02/15 16:46:50
move to .cc file
proberge
2016/02/16 16:56:23
Done.
| |
| 9 #include "base/memory/ref_counted.h" | |
| 10 #include "base/memory/scoped_ptr.h" | |
| 11 | |
| 12 namespace safe_browsing { | |
| 13 | |
| 14 class IncidentReceiver; | |
| 15 class SafeBrowsingDatabaseManager; | |
| 16 | |
| 17 // Registers a process-wide analysis with the incident reporting service that | |
| 18 // will examine modules loaded in the process. | |
| 19 void RegisterModuleLoadAnalysis( | |
| 20 const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager); | |
| 21 | |
| 22 // Callback to pass to the incident reporting service. The incident reporting | |
| 23 // service will decide when to start the analysis. | |
| 24 void VerifyModuleLoadState( | |
| 25 const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager, | |
| 26 scoped_ptr<IncidentReceiver> incident_receiver); | |
| 27 } // namespace safe_browsing | |
|
grt (UTC plus 2)
2016/02/15 16:46:50
nit: blank line before this
proberge
2016/02/16 16:56:23
Done.
| |
| 28 | |
| 29 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_MODULE_LOAD_ANALYZER_ H_ | |
| OLD | NEW |