Index: content/test/mock_render_thread.h |
=================================================================== |
--- content/test/mock_render_thread.h (revision 112878) |
+++ content/test/mock_render_thread.h (working copy) |
@@ -29,6 +29,10 @@ |
// Provides access to the messages that have been received by this thread. |
IPC::TestSink& sink() { return sink_; } |
+ // Helpers for embedders to know when content IPC messages are received, since |
+ // they don't have access to content IPC files. |
+ void VerifyRunJavaScriptMessageSend(const string16& expected_alert_message); |
tfarina
2011/12/05 01:17:43
can we include string16.h for it?
jam
2011/12/05 03:20:42
Done.
|
+ |
// content::RenderThread implementation: |
virtual bool Send(IPC::Message* msg) OVERRIDE; |
virtual MessageLoop* GetMessageLoop() OVERRIDE; |