summaryrefslogtreecommitdiffstats
path: root/chrome/browser/enumerate_modules_model_win.h
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-16 10:03:01 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-16 10:03:01 +0000
commit09fe8bebeb1c9a11719072d67d71cc305baab891 (patch)
tree6491bde9348f88bdf24c40bbeca481ca6d2458b9 /chrome/browser/enumerate_modules_model_win.h
parentd1c2e5fbfe9d64206c26bfaaa0dcaf9887751c4a (diff)
downloadchromium_src-09fe8bebeb1c9a11719072d67d71cc305baab891.zip
chromium_src-09fe8bebeb1c9a11719072d67d71cc305baab891.tar.gz
chromium_src-09fe8bebeb1c9a11719072d67d71cc305baab891.tar.bz2
Fix problem with %temp% paths not collapsing correctly.
Also update the blacklist so that modules that are not suspected malware don't get linked to the Help Center (the Help Center will only have a malware article to being with). BUG=66885 TEST=Covered by unit test. Review URL: http://codereview.chromium.org/5894001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69385 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/enumerate_modules_model_win.h')
-rw-r--r--chrome/browser/enumerate_modules_model_win.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/enumerate_modules_model_win.h b/chrome/browser/enumerate_modules_model_win.h
index a4479c4..1f524c8 100644
--- a/chrome/browser/enumerate_modules_model_win.h
+++ b/chrome/browser/enumerate_modules_model_win.h
@@ -9,6 +9,7 @@
#include <utility>
#include <vector>
+#include "base/gtest_prod_util.h"
#include "base/ref_counted.h"
#include "base/singleton.h"
#include "base/string16.h"
@@ -125,6 +126,8 @@ class ModuleEnumerator : public base::RefCountedThreadSafe<ModuleEnumerator> {
void ScanNow(ModulesVector* list);
private:
+ FRIEND_TEST_ALL_PREFIXES(EnumerateModulesTest, CollapsePath);
+
// The (currently) hard coded blacklist of known bad modules.
static const BlacklistEntry kModuleBlacklist[];