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

Unified Diff: chrome/test/base/chrome_test_suite.cc

Issue 440423003: Clean content_settings_pattern_parser.* from unnecessary dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm content_settings_initializer 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/render_messages.cc ('k') | components/content_settings.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/common/render_messages.cc ('k') | components/content_settings.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698