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

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: s/soon when/soon as 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"
9 #include "chrome/browser/safe_browsing/incident_reporting/incident_receiver.h"
10 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
11
12 namespace safe_browsing {
13
14 ModuleLoadAnalyzer::ModuleLoadAnalyzer(
15 const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager)
16 : database_manager_(database_manager) {
17 Initialize();
18 }
19
20 #if !defined(OS_WIN)
21 ModuleLoadAnalyzer::~ModuleLoadAnalyzer() {}
22 void ModuleLoadAnalyzer::Initialize() {}
23 void ModuleLoadAnalyzer::VerifyModuleLoadState(
24 scoped_ptr<IncidentReceiver> incident_receiver) {}
25 void ModuleLoadAnalyzer::GetLoadedSuspiciousModulesOnIOThread(
26 scoped_ptr<IncidentReceiver> incident_receiver) {}
27 // static
28 void ModuleLoadAnalyzer::ReportIncidentsForSuspiciousModules(
29 scoped_ptr<std::set<base::string16>> module_names,
30 scoped_ptr<IncidentReceiver> incident_receiver) {}
31 #endif // !defined(OS_WIN)
32
33 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698