Pass synchronous messages by JSON string.

We are going to use IPC_MESSAGE_HANDLER_DELAY_REPLY to handle
synchronous messages but DictionaryValue is not copyable, so we pass the
JSON string instead.
This commit is contained in:
Cheng Zhao 2013-09-20 22:32:59 +08:00
parent 07b5039c64
commit ef5a4b5fe0
10 changed files with 44 additions and 20 deletions

View file

@ -10,7 +10,6 @@
#include "common/api/atom_bindings.h"
namespace base {
class DictionaryValue;
class ListValue;
}
@ -35,7 +34,7 @@ class AtomBrowserBindings : public AtomBindings {
int routing_id,
const std::string& channel,
const base::ListValue& args,
base::DictionaryValue* result);
std::string* result);
// The require('atom').browserMainParts object.
v8::Handle<v8::Object> browser_main_parts() {