Add support for Chrome Alarms Extension API (issue #1947)

This commit is contained in:
Ryan Shetley
2017-08-30 11:46:21 +00:00
committed by Marshall Greenblatt
parent 64e6971099
commit dddfce456c
5 changed files with 358 additions and 0 deletions

View File

@ -480,6 +480,9 @@ scoped_refptr<const Extension> CefExtensionSystem::CreateExtension(
}
return Extension::Create(
info.root_directory,
// Tests should continue to use the Manifest::COMMAND_LINE value here
// Some Chrome APIs will cause undesired effects if this is incorrect
// e.g.: alarms API has 1 minute minimum applied to Packed Extensions
info.internal ? Manifest::COMPONENT : Manifest::COMMAND_LINE,
*info.manifest, flags, utf8_error);
}