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

Unified Diff: content/test/test_renderer_host.h

Issue 9838009: Clean up a few TODO items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 months 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 | « content/public/browser/render_widget_host_view.h ('k') | content/test/test_renderer_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_renderer_host.h
diff --git a/content/test/test_renderer_host.h b/content/test/test_renderer_host.h
index 65bcd3bab4310b583a892d01ffce258d06ded51f..bab7ef68299af8405a57d5d228c9c53a6e75b81f 100644
--- a/content/test/test_renderer_host.h
+++ b/content/test/test_renderer_host.h
@@ -57,6 +57,11 @@ class RenderViewHostTester {
// constructed while a RenderViewHostTestEnabler is in play.
static bool IsRenderViewHostSwappedOut(RenderViewHost* rvh);
+ // Calls the RenderViewHosts' private OnMessageReceived function with the
+ // given message.
+ static bool TestOnMessageReceived(RenderViewHost* rvh,
+ const IPC::Message& msg);
+
virtual ~RenderViewHostTester() {}
// Gives tests access to RenderViewHostImpl::CreateRenderView.
@@ -90,10 +95,6 @@ class RenderViewHostTester {
// tell it it has been hidden or restored from having been hidden.
virtual void SimulateWasHidden() = 0;
virtual void SimulateWasRestored() = 0;
-
- // Calls the RenderViewHosts' private OnMessageReceived function with the
- // given message.
- virtual bool TestOnMessageReceived(const IPC::Message& msg) = 0;
};
// You can instantiate only one class like this at a time. During its
@@ -180,7 +181,4 @@ class RenderViewHostTestHarness : public testing::Test {
} // namespace content
-// TODO(joi): Remove this after converting all clients.
-using content::RenderViewHostTestHarness;
-
#endif // CONTENT_TEST_TEST_RENDERER_HOST_H_
« no previous file with comments | « content/public/browser/render_widget_host_view.h ('k') | content/test/test_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698