summaryrefslogtreecommitdiffstats
path: root/webkit/glue/devtools/apu_agent_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/devtools/apu_agent_delegate.h')
-rw-r--r--webkit/glue/devtools/apu_agent_delegate.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/webkit/glue/devtools/apu_agent_delegate.h b/webkit/glue/devtools/apu_agent_delegate.h
new file mode 100644
index 0000000..17965d9
--- /dev/null
+++ b/webkit/glue/devtools/apu_agent_delegate.h
@@ -0,0 +1,16 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_GLUE_DEVTOOLS_APU_AGENT_DELEGATE_H_
+#define WEBKIT_GLUE_DEVTOOLS_APU_AGENT_DELEGATE_H_
+
+#include "webkit/glue/devtools/devtools_rpc.h"
+
+#define APU_AGENT_DELEGATE_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \
+ /* Sends a json object to apu. */ \
+ METHOD1(DispatchToApu, String /* data */)
+
+DEFINE_RPC_CLASS(ApuAgentDelegate, APU_AGENT_DELEGATE_STRUCT)
+
+#endif // WEBKIT_GLUE_DEVTOOLS_APU_AGENT_DELEGATE_H_