Index: chrome/browser/visitedlink/visitedlink_unittest.cc |
=================================================================== |
--- chrome/browser/visitedlink/visitedlink_unittest.cc (revision 110303) |
+++ chrome/browser/visitedlink/visitedlink_unittest.cc (working copy) |
@@ -18,7 +18,7 @@ |
#include "chrome/renderer/visitedlink_slave.h" |
#include "chrome/test/base/chrome_render_view_host_test_harness.h" |
#include "chrome/test/base/testing_profile.h" |
-#include "content/browser/renderer_host/browser_render_process_host.h" |
+#include "content/browser/renderer_host/render_process_host_impl.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.h" |
#include "content/test/test_browser_thread.h" |
@@ -495,12 +495,12 @@ |
scoped_ptr<VisitedLinkMaster> visited_link_master_; |
}; |
-// Stub out as little as possible, borrowing from BrowserRenderProcessHost. |
-class VisitRelayingRenderProcessHost : public BrowserRenderProcessHost { |
+// Stub out as little as possible, borrowing from RenderProcessHost. |
+class VisitRelayingRenderProcessHost : public RenderProcessHostImpl { |
jam
2011/11/16 22:10:19
this will have to change (in the future), since we
ananta
2011/11/17 13:34:45
Yes. We can mock out the remaining RPH methods or
|
public: |
explicit VisitRelayingRenderProcessHost( |
content::BrowserContext* browser_context) |
- : BrowserRenderProcessHost(browser_context) { |
+ : RenderProcessHostImpl(browser_context) { |
content::NotificationService::current()->Notify( |
content::NOTIFICATION_RENDERER_PROCESS_CREATED, |
content::Source<RenderProcessHost>(this), |
@@ -532,7 +532,7 @@ |
virtual bool Send(IPC::Message* msg) { |
VisitCountingProfile* counting_profile = |
static_cast<VisitCountingProfile*>( |
- Profile::FromBrowserContext(browser_context())); |
+ Profile::FromBrowserContext(GetBrowserContext())); |
if (msg->type() == ChromeViewMsg_VisitedLink_Add::ID) { |
void* iter = NULL; |