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

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

Issue 451763002: Fix a missing base:: for 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 "chrome/browser/chrome_elf_init_win.h" 5 #include "chrome/browser/chrome_elf_init_win.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 } 218 }
219 219
220 // Add test dll to blacklist 220 // Add test dll to blacklist
221 blacklist::AddDllToBlacklist(kTestDllName); 221 blacklist::AddDllToBlacklist(kTestDllName);
222 222
223 // Check that the test dll appears in list. 223 // Check that the test dll appears in list.
224 module_names.clear(); 224 module_names.clear();
225 EXPECT_TRUE(GetLoadedBlacklistedModules(&module_names)); 225 EXPECT_TRUE(GetLoadedBlacklistedModules(&module_names));
226 ASSERT_EQ(1, module_names.size()); 226 ASSERT_EQ(1, module_names.size());
227 EXPECT_STREQ(kTestDllName, 227 EXPECT_STREQ(kTestDllName,
228 StringToLowerASCII( 228 base::StringToLowerASCII(
229 base::FilePath(module_names[0]).BaseName().value()).c_str()); 229 base::FilePath(module_names[0]).BaseName().value()).c_str());
230 } 230 }
231 231
232 } // namespace 232 } // namespace
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