Home | History | Annotate | Download | only in manifest_handlers

Lines Matching defs:BackgroundInfo

37 static base::LazyInstance<BackgroundInfo> g_empty_background_info =
40 const BackgroundInfo& GetBackgroundInfo(const Extension* extension) {
41 BackgroundInfo* info = static_cast<BackgroundInfo*>(
50 BackgroundInfo::BackgroundInfo()
55 BackgroundInfo::~BackgroundInfo() {
59 GURL BackgroundInfo::GetBackgroundURL(const Extension* extension) {
60 const BackgroundInfo& info = GetBackgroundInfo(extension);
67 const std::vector<std::string>& BackgroundInfo::GetBackgroundScripts(
73 const std::string& BackgroundInfo::GetServiceWorkerScript(
79 bool BackgroundInfo::HasBackgroundPage(const Extension* extension) {
84 bool BackgroundInfo::HasPersistentBackgroundPage(const Extension* extension) {
89 bool BackgroundInfo::HasLazyBackgroundPage(const Extension* extension) {
94 bool BackgroundInfo::HasGeneratedBackgroundPage(const Extension* extension) {
95 const BackgroundInfo& info = GetBackgroundInfo(extension);
100 bool BackgroundInfo::HasServiceWorker(const Extension* extension) {
105 bool BackgroundInfo::AllowJSAccess(const Extension* extension) {
109 bool BackgroundInfo::Parse(const Extension* extension, base::string16* error) {
135 bool BackgroundInfo::LoadServiceWorkerScript(const Extension* extension,
156 bool BackgroundInfo::LoadBackgroundScripts(const Extension* extension,
184 bool BackgroundInfo::LoadBackgroundPage(const Extension* extension,
225 bool BackgroundInfo::LoadBackgroundPage(const Extension* extension,
239 bool BackgroundInfo::LoadBackgroundPersistent(const Extension* extension,
264 bool BackgroundInfo::LoadAllowJSAccess(const Extension* extension,
288 scoped_ptr<BackgroundInfo> info(new BackgroundInfo);
316 BackgroundInfo::GetBackgroundScripts(extension);
330 if (BackgroundInfo::HasBackgroundPage(extension) &&
333 BackgroundInfo::GetBackgroundURL(extension));