Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1923)

Unified Diff: content/test/mock_render_thread.h

Issue 8801001: Get rid of view_messages.h dependency in extension_messages_browsertest.cc by adding a method to ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/base/chrome_render_view_test.cc ('k') | content/test/mock_render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/test/base/chrome_render_view_test.cc ('k') | content/test/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698