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

Unified Diff: chrome/common/extensions/extension_messages.h

Issue 8343079: Don't close background pages if there is a pending response (callback). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only track in-flight events when lazy Created 9 years, 2 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/common/extensions/extension_messages.h
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
index 6d4e5673f5c5ddb617481b06a5cfa4aa1927e191..b65041af4d2030220f81270f58a51cccf43b9c22 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/chrome/common/extensions/extension_messages.h
@@ -273,6 +273,11 @@ IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RemoveListener,
IPC_MESSAGE_CONTROL1(ExtensionHostMsg_ExtensionIdle,
std::string /* extension_id */)
+// Notify the browser that an event has finished being dispatched.
+IPC_MESSAGE_CONTROL1(ExtensionHostMsg_EventDispatch,
Aaron Boodman 2011/10/31 17:46:08 Nit: can you call this ExtensionHostMsg_ExtensionE
Tessa MacDuff 2011/10/31 19:01:29 Done.
+ std::string /* extension_id */)
+
+
// Open a channel to all listening contexts owned by the extension with
// the given ID. This always returns a valid port ID which can be used for
// sending messages. If an error occurred, the opener will be notified

Powered by Google App Engine
This is Rietveld 408576698