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

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

Issue 2310463002: Update component extension reload backoff logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 76c374bf66b0ec286d9e2542e4770be32e979f10..60db5b18bcb3b264c8bee3d4a2efb6e308179ad4 100644
--- a/chrome/browser/background/background_contents_service.h
+++ b/chrome/browser/background/background_contents_service.h
@@ -216,6 +216,11 @@ class BackgroundContentsService : private content::NotificationObserver,
// set of background apps as new background contents are opened/closed).
void SendChangeNotification(Profile* profile);
+ // Checks whether there has been additional |extension_id| failures. If not,
+ // delete the BackoffEntry corresponding to |extension_id|, if exists.
+ void MaybeClearBackoffEntry(const std::string extension_id,
+ int expected_failure_count);
+
// Delay (in ms) before restarting a force-installed extension that crashed.
static int restart_delay_in_ms_;

Powered by Google App Engine
This is Rietveld 408576698