summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background_page_tracker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/background_page_tracker.cc')
-rw-r--r--chrome/browser/background_page_tracker.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/background_page_tracker.cc b/chrome/browser/background_page_tracker.cc
index 5c52ea0..5a41c8d 100644
--- a/chrome/browser/background_page_tracker.cc
+++ b/chrome/browser/background_page_tracker.cc
@@ -160,7 +160,8 @@ void BackgroundPageTracker::Observe(NotificationType type,
}
case NotificationType::EXTENSION_LOADED: {
const Extension* extension = Details<const Extension>(details).ptr();
- if (extension->background_url().is_valid())
+ if (!extension->is_hosted_app() &&
+ extension->background_url().is_valid())
OnBackgroundPageLoaded(extension->id());
break;
}