diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-20 16:01:03 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-20 16:01:03 +0000 |
commit | a95972d843da1bfe3b0c5a3d850604dc660609d7 (patch) | |
tree | 955c8f5ba9a7a45601a68f1f2f744b63e8ee1f6d /webkit/glue/devtools/net_agent.h | |
parent | daa071ea80b8498f497ed41b4892e5e02208e38d (diff) | |
download | chromium_src-a95972d843da1bfe3b0c5a3d850604dc660609d7.zip chromium_src-a95972d843da1bfe3b0c5a3d850604dc660609d7.tar.gz chromium_src-a95972d843da1bfe3b0c5a3d850604dc660609d7.tar.bz2 |
Add support for Javascript function callbacks into the WebDevToolsClient.
Review URL: http://codereview.chromium.org/42443
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12189 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/devtools/net_agent.h')
-rw-r--r-- | webkit/glue/devtools/net_agent.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webkit/glue/devtools/net_agent.h b/webkit/glue/devtools/net_agent.h index 00db4af0..0921c26 100644 --- a/webkit/glue/devtools/net_agent.h +++ b/webkit/glue/devtools/net_agent.h @@ -14,7 +14,8 @@ #define NET_AGENT_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \ /* Requests that the agent sends content of the resource with given id to the delegate. */ \ - METHOD2(GetResourceContent, int /* identifier */, String /* url */) + METHOD3(GetResourceContent, int /* call_id */, int /* identifier */, \ + String /* url */) DEFINE_RPC_CLASS(NetAgent, NET_AGENT_STRUCT) @@ -32,8 +33,8 @@ DEFINE_RPC_CLASS(NetAgent, NET_AGENT_STRUCT) /* Notifies the delegate that resource loading has failed. */ \ METHOD2(DidFailLoading, int /* identifier */, Value /* response */) \ \ - /* Calls delegate back with requested resource content. */ \ - METHOD2(SetResourceContent, int /* identifier */, String /* content */) + /* Response to the async call. */ \ + METHOD2(GetResourceContentResult, int /* call_id */, std::string /* content */) DEFINE_RPC_CLASS(NetAgentDelegate, NET_AGENT_DELEGATE_STRUCT) |