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

Unified Diff: chrome/renderer/extensions/miscellaneous_bindings.h

Issue 16226004: Replace JSON (de)serialization of extension messages with direct Value pickling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable test on win Created 7 years, 7 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/renderer/extensions/miscellaneous_bindings.h
diff --git a/chrome/renderer/extensions/miscellaneous_bindings.h b/chrome/renderer/extensions/miscellaneous_bindings.h
index 33bb15ee37d1690c229bb860eca5b69a70d64427..0a769d2c0f46ebf09ed545d0e666f0b81ef71c5e 100644
--- a/chrome/renderer/extensions/miscellaneous_bindings.h
+++ b/chrome/renderer/extensions/miscellaneous_bindings.h
@@ -11,6 +11,7 @@
namespace base {
class DictionaryValue;
+class ListValue;
}
namespace content {
@@ -55,7 +56,7 @@ class MiscellaneousBindings {
static void DeliverMessage(
const ChromeV8ContextSet::ContextSet& context_set,
int target_port_id,
- const std::string& message,
+ const base::ListValue& message,
content::RenderView* restrict_to_render_view);
// Dispatches the Port.onDisconnect event in response to the channel being

Powered by Google App Engine
This is Rietveld 408576698