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

Side by Side Diff: chrome/browser/enumerate_modules_model_win.cc

Issue 5307004: Remove the test DLLs from the blacklist.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/enumerate_modules_model_win.h" 5 #include "chrome/browser/enumerate_modules_model_win.h"
6 6
7 #include <Tlhelp32.h> 7 #include <Tlhelp32.h>
8 #include <wintrust.h> 8 #include <wintrust.h>
9 9
10 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // to cause compatibility issues within the browser process. When adding to this 77 // to cause compatibility issues within the browser process. When adding to this
78 // list, make sure that all paths are lower-case, in long pathname form, end 78 // list, make sure that all paths are lower-case, in long pathname form, end
79 // with a slash and use environments variables (or just look at one of the 79 // with a slash and use environments variables (or just look at one of the
80 // comments below and keep it consistent with that). When adding an entry with 80 // comments below and keep it consistent with that). When adding an entry with
81 // an environment variable not currently used in the list below, make sure to 81 // an environment variable not currently used in the list below, make sure to
82 // update the list in PreparePathMappings. Filename, Description/Signer, and 82 // update the list in PreparePathMappings. Filename, Description/Signer, and
83 // Location must be entered as hashes (see GenerateHash). Filename is mandatory. 83 // Location must be entered as hashes (see GenerateHash). Filename is mandatory.
84 // Entries without any Description, Signer info, or Location will never be 84 // Entries without any Description, Signer info, or Location will never be
85 // marked as confirmed bad (only as suspicious). 85 // marked as confirmed bad (only as suspicious).
86 const ModuleEnumerator::BlacklistEntry ModuleEnumerator::kModuleBlacklist[] = { 86 const ModuleEnumerator::BlacklistEntry ModuleEnumerator::kModuleBlacklist[] = {
87 // Test DLLs, to demonstrate the feature. Will be removed soon.
88 { // apphelp.dll, "%systemroot%\\system32\\"
89 "f5fda581", "23d01d5b", "", "", "", NONE
90 }, { // rsaenh.dll, "%systemroot%\\system32\\", "Microsoft Windows"
91 "6af212cb", "23d01d5b", "7b47bf79", "", "",
92 static_cast<RecommendedAction>(UPDATE | DISABLE | SEE_LINK)
93 },
94
95 // NOTE: Please keep this list sorted by dll name, then location. 87 // NOTE: Please keep this list sorted by dll name, then location.
96 88
97 // foldersizecolumn.dll. 89 // foldersizecolumn.dll.
98 {"5ec91bd7", "", "", "", "", NONE}, 90 {"5ec91bd7", "", "", "", "", NONE},
99 91
100 // idmmbc.dll, "%programfiles%\\internet download manager\\", "Tonec Inc.". 92 // idmmbc.dll, "%programfiles%\\internet download manager\\", "Tonec Inc.".
101 // See: http://crbug.com/26892/. 93 // See: http://crbug.com/26892/.
102 {"b8dce5c3", "94541bf5", "d33ad640", "", "", NONE}, 94 {"b8dce5c3", "94541bf5", "d33ad640", "", "", NONE},
103 95
104 // imon.dll. See: http://crbug.com/21715. 96 // imon.dll. See: http://crbug.com/21715.
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 GenerateHash(WideToUTF8(module.name), &filename); 738 GenerateHash(WideToUTF8(module.name), &filename);
747 GenerateHash(WideToUTF8(module.location), &location); 739 GenerateHash(WideToUTF8(module.location), &location);
748 GenerateHash(WideToUTF8(module.description), &description); 740 GenerateHash(WideToUTF8(module.description), &description);
749 GenerateHash(WideToUTF8(module.digital_signer), &signer); 741 GenerateHash(WideToUTF8(module.digital_signer), &signer);
750 742
751 string16 url = l10n_util::GetStringF(IDS_HELP_CENTER_VIEW_CONFLICTS, 743 string16 url = l10n_util::GetStringF(IDS_HELP_CENTER_VIEW_CONFLICTS,
752 ASCIIToWide(filename), ASCIIToWide(location), 744 ASCIIToWide(filename), ASCIIToWide(location),
753 ASCIIToWide(description), ASCIIToWide(signer)); 745 ASCIIToWide(description), ASCIIToWide(signer));
754 return GURL(WideToUTF8(url)); 746 return GURL(WideToUTF8(url));
755 } 747 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698