summaryrefslogtreecommitdiffstats
path: root/content/test/js_injection_ready_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/test/js_injection_ready_observer.h')
-rw-r--r--content/test/js_injection_ready_observer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/test/js_injection_ready_observer.h b/content/test/js_injection_ready_observer.h
index 8daf7d8..76370b5 100644
--- a/content/test/js_injection_ready_observer.h
+++ b/content/test/js_injection_ready_observer.h
@@ -6,7 +6,9 @@
#define CONTENT_TEST_JS_INJECTION_READY_OBSERVER_H_
#pragma once
+namespace content {
class RenderViewHost;
+}
// Interface to notify when JavaScript injection is possible.
class JsInjectionReadyObserver {
@@ -14,7 +16,8 @@ class JsInjectionReadyObserver {
// Called to indicate page entry committed and ready for JavaScript
// injection. |render_view_host| may be used to route injection messages to
// the appropriate RenderView.
- virtual void OnJsInjectionReady(RenderViewHost* render_view_host) = 0;
+ virtual void OnJsInjectionReady(
+ content::RenderViewHost* render_view_host) = 0;
protected:
virtual ~JsInjectionReadyObserver() {}