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

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

Issue 10804020: Introduce runtime.onSuspendCanceled() event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: delete dead code 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/extension_event_router.h
diff --git a/chrome/browser/extensions/extension_event_router.h b/chrome/browser/extensions/extension_event_router.h
index 834d85f258453277ab1d21e5f8df52ca26279398..96011c4335cd1adebd161b1a0e466d19a68abd11 100644
--- a/chrome/browser/extensions/extension_event_router.h
+++ b/chrome/browser/extensions/extension_event_router.h
@@ -214,6 +214,9 @@ class ExtensionEventRouter : public content::NotificationObserver,
content::RenderProcessHost* process,
const linked_ptr<ExtensionEvent>& event);
+ // Prevents the given extension from being suspended.
+ void CancelSuspend(Profile* profile, const extensions::Extension* extension);
+
// Returns false when the event is scoped to a profile and the listening
// extension does not have access to events from that profile. Also fills
// |event_args| with the proper arguments to send, which may differ if

Powered by Google App Engine
This is Rietveld 408576698