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

Side by Side Diff: chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.cc

Issue 1643573002: Add a ModuleLoadAnalyzer which checks modules against a whitelist (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make module_load_analyzer classless, remove static global and use CONTINUE_ON_SHUTDOWN Created 4 years, 10 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
(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 #include "chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h "
6
7 #include "build/build_config.h"
8 #include "chrome/browser/browser_process.h"
grt (UTC plus 2) 2016/02/11 15:54:59 unused
proberge 2016/02/11 20:25:21 Re-used when moving the logic of RegisterModuleLoa
9 #include "chrome/browser/safe_browsing/incident_reporting/incident_receiver.h"
10 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
grt (UTC plus 2) 2016/02/11 15:55:00 unused
proberge 2016/02/11 20:25:21 Re-used when moving the logic of RegisterModuleLoa
11
12 namespace safe_browsing {
13
14 #if !defined(OS_WIN)
15 void RegisterModuleLoadAnalysis(
grt (UTC plus 2) 2016/02/11 15:54:59 this re-declares the function. you really want to
proberge 2016/02/11 20:25:21 Done.
16 const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager);
17 void VerifyModuleLoadState(
18 const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager,
19 scoped_ptr<IncidentReceiver> incident_receiver);
20 void GetLoadedSuspiciousModulesOnIOThread(
grt (UTC plus 2) 2016/02/11 15:54:59 get rid of these
proberge 2016/02/11 20:25:21 Done.
21 const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager,
22 scoped_ptr<IncidentReceiver> incident_receiver,
23 scoped_ptr<std::set<ModuleInfo>> module_info_set);
24 void ReportIncidentsForSuspiciousModules(
25 scoped_ptr<std::set<base::string16>> module_names,
26 scoped_ptr<IncidentReceiver> incident_receiver);
27
28 #endif // !defined(OS_WIN)
29
30 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698