diff options
Diffstat (limited to 'chrome/browser/background_contents_service.h')
-rw-r--r-- | chrome/browser/background_contents_service.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chrome/browser/background_contents_service.h b/chrome/browser/background_contents_service.h index 1b388c7..e6bf19b 100644 --- a/chrome/browser/background_contents_service.h +++ b/chrome/browser/background_contents_service.h @@ -78,8 +78,10 @@ class BackgroundContentsService : private NotificationObserver, const string16& frame_name, const string16& application_id); - // Load the registered BackgroundContents for the specified extension. This - // is typically used to reload a crashed background page. + // Load the manifest-specified background page for the specified hosted app. + // If the manifest doesn't specify one, then load the BackgroundContents + // registered in the pref. This is typically used to reload a crashed + // background page. void LoadBackgroundContentsForExtension(Profile* profile, const std::string& extension_id); @@ -114,6 +116,10 @@ class BackgroundContentsService : private NotificationObserver, const std::string& extension_id, const DictionaryValue* contents); + // Load the manifest-specified BackgroundContents for all apps for the + // profile. + void LoadBackgroundContentsFromManifests(Profile* profile); + // Creates a single BackgroundContents associated with the specified |appid|, // creates an associated RenderView with the name specified by |frame_name|, // and navigates to the passed |url|. |