summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdevtoolsagent_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webdevtoolsagent_delegate.h')
-rw-r--r--webkit/glue/webdevtoolsagent_delegate.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/webkit/glue/webdevtoolsagent_delegate.h b/webkit/glue/webdevtoolsagent_delegate.h
new file mode 100644
index 0000000..d1305a3
--- /dev/null
+++ b/webkit/glue/webdevtoolsagent_delegate.h
@@ -0,0 +1,22 @@
+// 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_WEBDEVTOOLSAGENT_DELEGATE_H_
+#define WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_
+
+#include <string>
+#include "base/basictypes.h"
+
+class WebDevToolsAgentDelegate {
+ public:
+ WebDevToolsAgentDelegate() {}
+ virtual ~WebDevToolsAgentDelegate() {}
+
+ virtual void SendMessageToClient(const std::string& raw_msg) = 0;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentDelegate);
+};
+
+#endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_