Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2255)

Unified Diff: chrome/browser/background/background_contents_service.h

Issue 160923002: Fixes a typo: use the default image if the extension doesn't have icon. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-upload Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/background/background_contents_service.h
diff --git a/chrome/browser/background/background_contents_service.h b/chrome/browser/background/background_contents_service.h
index 70e93187f79cdb9993ee1dc694659a217057e3eb..add99753c5e79ad0d0164ad4405442159f15ab4e 100644
--- a/chrome/browser/background/background_contents_service.h
+++ b/chrome/browser/background/background_contents_service.h
@@ -61,6 +61,15 @@ class BackgroundContentsService : private content::NotificationObserver,
static void SetRestartDelayForForceInstalledAppsAndExtensionsForTesting(
int restart_delay_in_ms);
+ // Get the crash notification's id for the extension.
+ static std::string GetNotificationIdForExtension(
+ const std::string& extension_id);
+
+ // Show a popup notification balloon with a crash message for a given app/
+ // extension.
+ static void ShowBalloon(const extensions::Extension* extension,
+ Profile* profile);
+
// Returns the BackgroundContents associated with the passed application id,
// or NULL if none.
BackgroundContents* GetAppBackgroundContents(const base::string16& appid);

Powered by Google App Engine
This is Rietveld 408576698