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

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

Issue 22875046: Don't serialize extension user script injection results unless the extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sensible v8::Context-ness Created 7 years, 4 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 | « chrome/browser/extensions/script_executor.cc ('k') | chrome/renderer/extensions/user_script_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_messages.h
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
index c2fd98d711bc16bfb62320d3e8d6f2ce608c6468..8d3b3e19a9dc0d78c54b29ea17a5365f5b6f6571 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/chrome/common/extensions/extension_messages.h
@@ -117,6 +117,11 @@ IPC_STRUCT_BEGIN(ExtensionMsg_ExecuteCode_Params)
// Whether the request is coming from a <webview>.
IPC_STRUCT_MEMBER(bool, is_web_view)
+
+ // Whether the caller is interested in the result value. Manifest-declared
+ // content scripts and executeScript() calls without a response callback
+ // are examples of when this will be false.
+ IPC_STRUCT_MEMBER(bool, wants_result)
IPC_STRUCT_END()
// Struct containing the data for external connections to extensions. Used to
« no previous file with comments | « chrome/browser/extensions/script_executor.cc ('k') | chrome/renderer/extensions/user_script_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698