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

Unified Diff: webkit/glue/devtools/tools_agent.h

Issue 113836: DevTools: introduce bound object on the agent side. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « webkit/glue/devtools/net_agent_impl.cc ('k') | webkit/glue/inspector_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/tools_agent.h
===================================================================
--- webkit/glue/devtools/tools_agent.h (revision 16977)
+++ webkit/glue/devtools/tools_agent.h (working copy)
@@ -25,7 +25,10 @@
String /* json_args */) \
\
/* Clears cached console messages. */ \
- METHOD0(ClearConsoleMessages)
+ METHOD0(ClearConsoleMessages) \
+ /* Requests that the agent sends content of the resource with given id to the
+ delegate. */ \
+ METHOD2(GetResourceContent, int /* call_id */, int /* identifier */)
DEFINE_RPC_CLASS(ToolsAgent, TOOLS_AGENT_STRUCT)
@@ -44,8 +47,11 @@
METHOD3(DidExecuteUtilityFunction, int /* call_id */, String /* result */, \
String /* exception */) \
\
- /* Adds message to console. */ \
- METHOD1(AddMessageToConsole, Value /* message */)
+ /* Sends InspectorFrontend message to be dispatched on client. */ \
+ METHOD1(DispatchOnClient, String /* data */) \
+ \
+ /* Response to the async call. */ \
+ METHOD2(DidGetResourceContent, int /* call_id */, String /* content */)
DEFINE_RPC_CLASS(ToolsAgentDelegate, TOOLS_AGENT_DELEGATE_STRUCT)
« no previous file with comments | « webkit/glue/devtools/net_agent_impl.cc ('k') | webkit/glue/inspector_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698