Index: chrome/test/base/chrome_test_suite.cc |
diff --git a/chrome/test/base/chrome_test_suite.cc b/chrome/test/base/chrome_test_suite.cc |
index 6292b85d7a49cc47d06b3c70422dbea4f150b981..45c0d5cc4160d4d575b271765fa07e2179f753a3 100644 |
--- a/chrome/test/base/chrome_test_suite.cc |
+++ b/chrome/test/base/chrome_test_suite.cc |
@@ -16,8 +16,10 @@ |
#include "chrome/browser/browser_process.h" |
#include "chrome/common/chrome_constants.h" |
#include "chrome/common/chrome_paths.h" |
+#include "chrome/common/content_settings_pattern.h" |
#include "chrome/common/url_constants.h" |
#include "content/public/test/test_launcher.h" |
+#include "extensions/common/constants.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#if defined(OS_ANDROID) |
@@ -106,6 +108,9 @@ void ChromeTestSuite::Initialize() { |
// values for DIR_EXE and DIR_MODULE. |
content::ContentTestSuiteBase::Initialize(); |
+ ContentSettingsPattern::SetNonWildcardDomainNonPortScheme( |
+ extensions::kExtensionScheme); |
+ |
#if defined(OS_MACOSX) && !defined(OS_IOS) |
// Look in the framework bundle for resources. |
base::FilePath path; |