Index: content/renderer/devtools/devtools_client.h |
diff --git a/content/renderer/devtools/devtools_client.h b/content/renderer/devtools/devtools_client.h |
index 6460ca83c7303a72f192bef56df5cda2281079f6..8997c4eb26a0a6f8cc0a4d217c69bcd3c1257ebe 100644 |
--- a/content/renderer/devtools/devtools_client.h |
+++ b/content/renderer/devtools/devtools_client.h |
@@ -29,10 +29,14 @@ class CONTENT_EXPORT DevToolsClient |
: public RenderFrameObserver, |
NON_EXPORTED_BASE(public blink::WebDevToolsFrontendClient) { |
public: |
- explicit DevToolsClient(RenderFrame* main_render_frame); |
+ DevToolsClient(RenderFrame* main_render_frame, |
+ const std::string& injected_script); |
virtual ~DevToolsClient(); |
private: |
+ // RenderFrameObserver overrides. |
+ void DidClearWindowObject() override; |
+ |
// WebDevToolsFrontendClient implementation. |
virtual void sendMessageToBackend(const blink::WebString&) override; |
virtual void sendMessageToEmbedder(const blink::WebString&) override; |
@@ -43,6 +47,7 @@ class CONTENT_EXPORT DevToolsClient |
uint32 total_size); |
scoped_ptr<blink::WebDevToolsFrontend> web_tools_frontend_; |
+ std::string injected_script_; |
DISALLOW_COPY_AND_ASSIGN(DevToolsClient); |
}; |