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

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

Issue 10804020: Introduce runtime.onSuspendCanceled() event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: respond to comments Created 8 years, 5 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/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 70d1ac0a9c9e1790c949ed1e67cd500b3ce2c421..04f0b919e8ba868714bb68fbfd6f66002c66c757 100644
--- a/chrome/browser/extensions/lazy_background_task_queue.h
+++ b/chrome/browser/extensions/lazy_background_task_queue.h
@@ -39,7 +39,9 @@ class LazyBackgroundTaskQueue
virtual ~LazyBackgroundTaskQueue();
// Returns true if the task should be added to the queue (that is, if the
- // extension has a lazy background page that isn't ready yet).
+ // extension has a lazy background page that isn't ready yet). If the
+ // extension has a lazy background page that is being suspended this method
+ // cancels that suspension.
bool ShouldEnqueueTask(Profile* profile, const Extension* extension);
// Adds a task to the queue for a given extension. If this is the first
« no previous file with comments | « chrome/browser/extensions/extension_process_manager.cc ('k') | chrome/browser/extensions/lazy_background_task_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698