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

Side by Side Diff: chrome/browser/win/enumerate_modules_model.h

Issue 2566733003: Annotate Trusteer Rapport < 3.6 as incompatible with Chrome. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | chrome/browser/win/enumerate_modules_model.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_WIN_ENUMERATE_MODULES_MODEL_H_ 5 #ifndef CHROME_BROWSER_WIN_ENUMERATE_MODULES_MODEL_H_
6 #define CHROME_BROWSER_WIN_ENUMERATE_MODULES_MODEL_H_ 6 #define CHROME_BROWSER_WIN_ENUMERATE_MODULES_MODEL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // we can use for comparison against our blacklist (which uses only env vars). 214 // we can use for comparison against our blacklist (which uses only env vars).
215 // NOTE: The vector will not contain an exhaustive list of environment 215 // NOTE: The vector will not contain an exhaustive list of environment
216 // variables, only the ones currently found on the blacklist or ones that are 216 // variables, only the ones currently found on the blacklist or ones that are
217 // likely to appear there. 217 // likely to appear there.
218 void PreparePathMappings(); 218 void PreparePathMappings();
219 219
220 // For a given |module|, collapse the path from c:\windows to %systemroot%, 220 // For a given |module|, collapse the path from c:\windows to %systemroot%,
221 // based on the |path_mapping_| vector. 221 // based on the |path_mapping_| vector.
222 void CollapsePath(Module* module); 222 void CollapsePath(Module* module);
223 223
224 // Annotate any known third party modules with actions the user can take.
225 void AnnotateBadModules();
226
224 // Reports (via UMA) a handful of high-level metrics regarding third party 227 // Reports (via UMA) a handful of high-level metrics regarding third party
225 // modules in this process. Called by ScanImplFinish. 228 // modules in this process. Called by ScanImplFinish.
226 void ReportThirdPartyMetrics(); 229 void ReportThirdPartyMetrics();
227 230
228 // The typedef for the vector that maps a regular file path to %env_var%. 231 // The typedef for the vector that maps a regular file path to %env_var%.
229 typedef std::vector<std::pair<base::string16, base::string16>> PathMapping; 232 typedef std::vector<std::pair<base::string16, base::string16>> PathMapping;
230 233
231 // The vector of paths to %env_var%, used to account for differences in 234 // The vector of paths to %env_var%, used to account for differences in
232 // where people keep there files, c:\windows vs. d:\windows, etc. 235 // where people keep there files, c:\windows vs. d:\windows, etc.
233 PathMapping path_mapping_; 236 PathMapping path_mapping_;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 // The number of suspected bad modules (not including confirmed bad ones) 386 // The number of suspected bad modules (not including confirmed bad ones)
384 // found during last scan. Only modified on the UI thread. 387 // found during last scan. Only modified on the UI thread.
385 int suspected_bad_modules_detected_; 388 int suspected_bad_modules_detected_;
386 389
387 base::ObserverList<Observer> observers_; 390 base::ObserverList<Observer> observers_;
388 391
389 DISALLOW_COPY_AND_ASSIGN(EnumerateModulesModel); 392 DISALLOW_COPY_AND_ASSIGN(EnumerateModulesModel);
390 }; 393 };
391 394
392 #endif // CHROME_BROWSER_WIN_ENUMERATE_MODULES_MODEL_H_ 395 #endif // CHROME_BROWSER_WIN_ENUMERATE_MODULES_MODEL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/win/enumerate_modules_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698