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

Unified Diff: chrome/browser/extensions/lazy_background_task_queue.h

Issue 23537019: Don't try to load an event page to fire an event if the browser is shutting down. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « no previous file | chrome/browser/extensions/lazy_background_task_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/lazy_background_task_queue.h
diff --git a/chrome/browser/extensions/lazy_background_task_queue.h b/chrome/browser/extensions/lazy_background_task_queue.h
index dd612185217cafc41cf7a2c17376106c91df16cf..cb302f8293ae4344ac3d141c5fe6b369a009075b 100644
--- a/chrome/browser/extensions/lazy_background_task_queue.h
+++ b/chrome/browser/extensions/lazy_background_task_queue.h
@@ -42,8 +42,8 @@ class LazyBackgroundTaskQueue : public content::NotificationObserver {
// Adds a task to the queue for a given extension. If this is the first
// task added for the extension, its lazy background page will be loaded.
// The task will be called either when the page is loaded, or when the
- // page fails to load for some reason (e.g. a crash). In the latter case,
- // the ExtensionHost parameter is NULL.
+ // page fails to load for some reason (e.g. a crash or browser
+ // shutdown). In the latter case, the ExtensionHost parameter is NULL.
void AddPendingTask(
Profile* profile,
const std::string& extension_id,
« no previous file with comments | « no previous file | chrome/browser/extensions/lazy_background_task_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698