summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background_contents_service.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 18:40:11 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 18:40:11 +0000
commitb2bcbfe9e2eb8f9f855b52eb48fcf0685a81fbe4 (patch)
tree1ba47530882df1b894eec92ef7a4fa572a3539d5 /chrome/browser/background_contents_service.h
parentb550a3dcd79d555c1b7f1049e56b558b377a61c7 (diff)
downloadchromium_src-b2bcbfe9e2eb8f9f855b52eb48fcf0685a81fbe4.zip
chromium_src-b2bcbfe9e2eb8f9f855b52eb48fcf0685a81fbe4.tar.gz
chromium_src-b2bcbfe9e2eb8f9f855b52eb48fcf0685a81fbe4.tar.bz2
Revert 80128 - apps: Notify the user if an app's background page crashes.
Add a new notification for when an app's background page crashes, and use this notification message to show a message to the user and allow to restart the app. Extension-crashes also create balloon notifications instead of infobars. BUG=none TEST=existing ExtensionCrashRecoveryTest.* tests. Review URL: http://codereview.chromium.org/6731038 TBR=sadrul@chromium.org Review URL: http://codereview.chromium.org/6788018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80193 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background_contents_service.h')
-rw-r--r--chrome/browser/background_contents_service.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/background_contents_service.h b/chrome/browser/background_contents_service.h
index 55bc365..1723ae7 100644
--- a/chrome/browser/background_contents_service.h
+++ b/chrome/browser/background_contents_service.h
@@ -18,7 +18,6 @@
#include "webkit/glue/window_open_disposition.h"
class CommandLine;
-class DictionaryValue;
class PrefService;
class Profile;
class TabContents;
@@ -75,11 +74,6 @@ 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.
- void LoadBackgroundContentsForExtension(Profile* profile,
- const std::string& extension_id);
-
private:
friend class BackgroundContentsServiceTest;
friend class MockBackgroundContents;
@@ -104,12 +98,6 @@ class BackgroundContentsService : private NotificationObserver,
// Loads all registered BackgroundContents at startup.
void LoadBackgroundContentsFromPrefs(Profile* profile);
- // Load a BackgroundContent; the settings are read from the provided
- // dictionary.
- void LoadBackgroundContentsFromDictionary(Profile* profile,
- const std::string& extension_id,
- const DictionaryValue* contents);
-
// 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|.