| Index: chrome/browser/extensions/extension_content_settings_helpers.h
|
| diff --git a/chrome/browser/extensions/extension_content_settings_helpers.h b/chrome/browser/extensions/extension_content_settings_helpers.h
|
| index c7c6f257ac4a00ce9633e86b8ce4b75bd84c4a86..b3e4ce70b938839f41f7f8778ece89cc1814d7e9 100644
|
| --- a/chrome/browser/extensions/extension_content_settings_helpers.h
|
| +++ b/chrome/browser/extensions/extension_content_settings_helpers.h
|
| @@ -8,10 +8,19 @@
|
|
|
| #include <string>
|
|
|
| +#include "chrome/browser/content_settings/content_settings_pattern.h"
|
| #include "chrome/common/content_settings.h"
|
|
|
| namespace extension_content_settings_helpers {
|
|
|
| +// Parses an extension match pattern and returns a corresponding
|
| +// content settings pattern object.
|
| +// If |pattern_str| is invalid or can't be converted to a content settings
|
| +// pattern, |error| is set to the parsing error and an invalid pattern
|
| +// is returned.
|
| +ContentSettingsPattern ParseExtensionPattern(const std::string& pattern_str,
|
| + std::string* error);
|
| +
|
| // Converts a content settings type string to the corresponding
|
| // ContentSettingsType. Returns CONTENT_SETTINGS_TYPE_DEFAULT if the string
|
| // didn't specify a valid content settings type.
|
|
|