Index: chrome/common/extensions/manifest_handlers/content_scripts_handler.cc |
diff --git a/chrome/common/extensions/manifest_handlers/content_scripts_handler.cc b/chrome/common/extensions/manifest_handlers/content_scripts_handler.cc |
index 9a699b2013259706083215fc04001ae426754493..59944a830951b7c60f0362b734ad110f3f255438 100644 |
--- a/chrome/common/extensions/manifest_handlers/content_scripts_handler.cc |
+++ b/chrome/common/extensions/manifest_handlers/content_scripts_handler.cc |
@@ -110,6 +110,18 @@ bool LoadUserScriptFromDictionary(const base::DictionaryValue* content_script, |
result->set_match_all_frames(all_frames); |
} |
+ // match about blank |
+ if (content_script->HasKey(keys::kMatchAboutBlank)) { |
+ bool match_about_blank = false; |
+ if (!content_script->GetBoolean(keys::kMatchAboutBlank, |
+ &match_about_blank)) { |
+ *error = ErrorUtils::FormatErrorMessageUTF16( |
+ errors::kInvalidMatchAboutBlank, base::IntToString(definition_index)); |
+ return false; |
+ } |
+ result->set_match_about_blank(match_about_blank); |
+ } |
+ |
// matches (required) |
const base::ListValue* matches = NULL; |
if (!content_script->GetList(keys::kMatches, &matches)) { |