From 5322973d577a1064bb32eb19bd01c6aa5e7c51a5 Mon Sep 17 00:00:00 2001 From: "kalman@chromium.org" Date: Fri, 21 Jun 2013 02:56:02 +0000 Subject: Go back to JSON serialization of extension messages. base::Value pickling was causing OOMs on the browser, and V8ValueConverter has bugs. This is effectively a revert of both r204067 and r204496, except the json library replaced by the new safe $JSON, and it's eagerly included via our small-footprint v8::Extension. BUG=247530,248019,249419 R=mpcomplete@chromium.org TBR=cdn@chromium.org Review URL: https://chromiumcodereview.appspot.com/17144003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207675 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/extensions/dispatcher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/renderer/extensions/dispatcher.h') diff --git a/chrome/renderer/extensions/dispatcher.h b/chrome/renderer/extensions/dispatcher.h index 2d81dff..80cd0ee 100644 --- a/chrome/renderer/extensions/dispatcher.h +++ b/chrome/renderer/extensions/dispatcher.h @@ -164,7 +164,7 @@ class Dispatcher : public content::RenderProcessObserver { const std::string& channel_name, const base::DictionaryValue& source_tab, const ExtensionMsg_ExternalConnectionInfo& info); - void OnDeliverMessage(int target_port_id, const base::ListValue& message); + void OnDeliverMessage(int target_port_id, const std::string& message); void OnDispatchOnDisconnect(int port_id, const std::string& error_message); void OnSetFunctionNames(const std::vector& names); void OnSetSystemFont(const std::string& font_family, -- cgit v1.1