Chromium Code Reviews| Index: chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h |
| diff --git a/chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h b/chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..dd4433d70dfcb40408b7fb77b02503e6fc025d61 |
| --- /dev/null |
| +++ b/chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_MODULE_LOAD_ANALYZER_H_ |
| +#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_MODULE_LOAD_ANALYZER_H_ |
| + |
| +#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.
|
| +#include "base/memory/ref_counted.h" |
| +#include "base/memory/scoped_ptr.h" |
| + |
| +namespace safe_browsing { |
| + |
| +class IncidentReceiver; |
| +class SafeBrowsingDatabaseManager; |
| + |
| +// Registers a process-wide analysis with the incident reporting service that |
| +// will examine modules loaded in the process. |
| +void RegisterModuleLoadAnalysis( |
| + const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager); |
| + |
| +// Callback to pass to the incident reporting service. The incident reporting |
| +// service will decide when to start the analysis. |
| +void VerifyModuleLoadState( |
| + const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager, |
| + scoped_ptr<IncidentReceiver> incident_receiver); |
| +} // 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.
|
| + |
| +#endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_MODULE_LOAD_ANALYZER_H_ |