Index: chrome/browser/search_engines/template_url_service_test_util.cc |
diff --git a/chrome/browser/search_engines/template_url_service_test_util.cc b/chrome/browser/search_engines/template_url_service_test_util.cc |
index 356b05ae19555a99fcd11638e0dab05221234b59..5eb45f4dc2ff8b0c40e94cf53325498547c99bee 100644 |
--- a/chrome/browser/search_engines/template_url_service_test_util.cc |
+++ b/chrome/browser/search_engines/template_url_service_test_util.cc |
@@ -23,6 +23,10 @@ |
#include "content/public/test/test_browser_thread.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#if defined(OS_CHROMEOS) |
+#include "chrome/browser/google/google_util_chromeos.h" |
+#endif |
+ |
using content::BrowserThread; |
namespace { |
@@ -175,6 +179,10 @@ void TemplateURLServiceTestUtil::SetUp() { |
TemplateURLServiceFactory::GetInstance()->SetTestingFactoryAndUse( |
profile_.get(), TestingTemplateURLService::Build)); |
service->AddObserver(this); |
+ |
+#if defined(OS_CHROMEOS) |
+ google_util::chromeos::ClearBrandForCurrentSession(); |
+#endif |
} |
void TemplateURLServiceTestUtil::TearDown() { |