summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/render_thread.h')
-rw-r--r--chrome/renderer/render_thread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h
index 0d5da09..637c4c5 100644
--- a/chrome/renderer/render_thread.h
+++ b/chrome/renderer/render_thread.h
@@ -5,6 +5,7 @@
#ifndef CHROME_RENDERER_RENDER_THREAD_H_
#define CHROME_RENDERER_RENDER_THREAD_H_
+#include <string>
#include <vector>
#include "base/gfx/native_widget_types.h"
@@ -125,6 +126,8 @@ class RenderThread : public RenderThreadBase,
void OnExtensionHandleConnect(int channel_id);
void OnExtensionHandleMessage(const std::string& message, int channel_id);
+ void OnExtensionHandleEvent(const std::string event_name,
+ const std::string event_data);
// Gather usage statistics from the in-memory cache and inform our host.
// These functions should be call periodically so that the host can make