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

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

Issue 445373004: Add missing base:: to StringToLowerASCII (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/files/file_path.h" 6 #include "base/files/file_path.h"
7 #include "base/metrics/field_trial.h" 7 #include "base/metrics/field_trial.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/metrics/sparse_histogram.h" 9 #include "base/metrics/sparse_histogram.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 211
212 bool GetLoadedBlacklistedModules(std::vector<base::string16>* module_names) { 212 bool GetLoadedBlacklistedModules(std::vector<base::string16>* module_names) {
213 DCHECK(module_names); 213 DCHECK(module_names);
214 214
215 std::set<ModuleInfo> module_info_set; 215 std::set<ModuleInfo> module_info_set;
216 if (!GetLoadedModules(&module_info_set)) 216 if (!GetLoadedModules(&module_info_set))
217 return false; 217 return false;
218 218
219 std::set<ModuleInfo>::const_iterator module_iter(module_info_set.begin()); 219 std::set<ModuleInfo>::const_iterator module_iter(module_info_set.begin());
220 for (; module_iter != module_info_set.end(); ++module_iter) { 220 for (; module_iter != module_info_set.end(); ++module_iter) {
221 base::string16 module_file_name(StringToLowerASCII( 221 base::string16 module_file_name(base::StringToLowerASCII(
222 base::FilePath(module_iter->name).BaseName().value())); 222 base::FilePath(module_iter->name).BaseName().value()));
223 if (blacklist::GetBlacklistIndex(module_file_name.c_str()) != -1) { 223 if (blacklist::GetBlacklistIndex(module_file_name.c_str()) != -1) {
224 module_names->push_back(module_iter->name); 224 module_names->push_back(module_iter->name);
225 } 225 }
226 } 226 }
227 227
228 return true; 228 return true;
229 } 229 }
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