Index: chrome/browser/component_updater/cld_component_installer_unittest.cc |
diff --git a/chrome/browser/component_updater/cld_component_installer_unittest.cc b/chrome/browser/component_updater/cld_component_installer_unittest.cc |
index aa19c256d33f23c3ceb0daea83af1270eb68ff90..ab40b3532d7c95c33d7f32df4209a6419f2c770c 100644 |
--- a/chrome/browser/component_updater/cld_component_installer_unittest.cc |
+++ b/chrome/browser/component_updater/cld_component_installer_unittest.cc |
@@ -102,8 +102,7 @@ |
const base::FilePath base_dir; |
const base::FilePath result = |
CldComponentInstallerTraits::GetInstalledPath(base_dir); |
- ASSERT_TRUE(base::EndsWith(result.value(), kTestCldDataFileName, |
- base::CompareCase::SENSITIVE)); |
+ ASSERT_TRUE(base::EndsWith(result.value(), kTestCldDataFileName, true)); |
} |
TEST_F(CldComponentInstallerTest, GetBaseDirectory) { |
@@ -128,10 +127,8 @@ |
traits_.ComponentReady(version, install_dir, manifest.Pass()); |
base::FilePath result = CldComponentInstallerTraits::GetLatestCldDataFile(); |
ASSERT_TRUE(base::StartsWith(result.AsUTF16Unsafe(), |
- install_dir.AsUTF16Unsafe(), |
- base::CompareCase::SENSITIVE)); |
- ASSERT_TRUE(base::EndsWith(result.value(), kTestCldDataFileName, |
- base::CompareCase::SENSITIVE)); |
+ install_dir.AsUTF16Unsafe(), true)); |
+ ASSERT_TRUE(base::EndsWith(result.value(), kTestCldDataFileName, true)); |
} |
} // namespace component_updater |