Index: chrome/common/extensions/extension_l10n_util.cc |
=================================================================== |
--- chrome/common/extensions/extension_l10n_util.cc (revision 40221) |
+++ chrome/common/extensions/extension_l10n_util.cc (working copy) |
@@ -14,7 +14,6 @@ |
#include "base/string_util.h" |
#include "base/values.h" |
#include "chrome/browser/browser_process.h" |
-#include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h" |
#include "chrome/common/extensions/extension.h" |
#include "chrome/common/extensions/extension_constants.h" |
#include "chrome/common/extensions/extension_file_util.h" |
@@ -296,15 +295,4 @@ |
return ExtensionMessageBundle::Create(catalogs, error); |
} |
-void ApplyMessageFilterPolicy(const GURL& url, |
- const ResourceType::Type& resource_type, |
- ResourceDispatcherHostRequestInfo* request_info) { |
- // Apply filter only to chrome extension css files that don't have |
- // security filter already set. |
- if (url.SchemeIs(chrome::kExtensionScheme) && |
- request_info->filter_policy() == FilterPolicy::DONT_FILTER && |
- resource_type == ResourceType::STYLESHEET) |
- request_info->set_filter_policy(FilterPolicy::FILTER_EXTENSION_MESSAGES); |
-} |
- |
} // namespace extension_l10n_util |