Index: components/content_settings/core/browser/content_settings_utils.h |
diff --git a/components/content_settings/core/browser/content_settings_utils.h b/components/content_settings/core/browser/content_settings_utils.h |
index 2efa0ed4f9e8184afc12678dc10abad414dd400c..4fa558441e53c39e9b9e70babac7fc6386349c35 100644 |
--- a/components/content_settings/core/browser/content_settings_utils.h |
+++ b/components/content_settings/core/browser/content_settings_utils.h |
@@ -61,7 +61,9 @@ const char kExtensionScheme[] = "chrome-extension"; |
std::string ContentSettingToString(ContentSetting setting); |
-ContentSetting ContentSettingFromString(const std::string& name); |
+// Converts a content setting string to the corresponding ContentSetting. |
+// Returns true if |name| specifies a valid content setting, false otherwise. |
+bool ContentSettingFromString(const std::string& name, ContentSetting* setting); |
// Converts |Value| to |ContentSetting|. |
ContentSetting ValueToContentSetting(const base::Value* value); |