| Index: chrome/browser/component_updater/test/cld_component_installer_unittest.cc
 | 
| diff --git a/chrome/browser/component_updater/test/cld_component_installer_unittest.cc b/chrome/browser/component_updater/test/cld_component_installer_unittest.cc
 | 
| index 0f10ac8ea6fa8f8ce75008e3f8381b463f56978b..3d39ef72c4945e39611fb0cb19511f5cded1a7a5 100644
 | 
| --- a/chrome/browser/component_updater/test/cld_component_installer_unittest.cc
 | 
| +++ b/chrome/browser/component_updater/test/cld_component_installer_unittest.cc
 | 
| @@ -16,6 +16,7 @@
 | 
|  #include "base/version.h"
 | 
|  #include "chrome/browser/component_updater/cld_component_installer.h"
 | 
|  #include "components/translate/content/browser/browser_cld_data_provider.h"
 | 
| +#include "components/translate/content/common/cld_data_source.h"
 | 
|  #include "testing/gtest/include/gtest/gtest.h"
 | 
|  #include "testing/platform_test.h"
 | 
|  
 | 
| @@ -35,6 +36,7 @@ class CldComponentInstallerTest : public PlatformTest {
 | 
|    CldComponentInstallerTest() {}
 | 
|    void SetUp() override {
 | 
|      PlatformTest::SetUp();
 | 
| +    translate::CldDataSource::DisableSanityChecksForTest();
 | 
|  
 | 
|      // ScopedTempDir automatically does a recursive delete on the entire
 | 
|      // directory in its destructor, so no cleanup is required in TearDown.
 | 
| @@ -51,6 +53,10 @@ class CldComponentInstallerTest : public PlatformTest {
 | 
|      ASSERT_TRUE(path_now.empty());
 | 
|    }
 | 
|  
 | 
| +  void TearDown() override {
 | 
| +    // Restore sanity checks.
 | 
| +    translate::CldDataSource::EnableSanityChecksForTest();
 | 
| +  }
 | 
|   protected:
 | 
|    base::ScopedTempDir temp_dir_;
 | 
|    CldComponentInstallerTraits traits_;
 | 
| 
 |