diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-27 17:47:37 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-27 17:47:37 +0000 |
commit | 3d7474fffebf62e0bbd2fe3f03996af3f28b8180 (patch) | |
tree | 9cdd26d0eb2c245da54447262e043fc620fdaaf6 /chrome/browser/visitedlink | |
parent | 291fb3ed59e445c03756fa678c0935fc7140cdcf (diff) | |
download | chromium_src-3d7474fffebf62e0bbd2fe3f03996af3f28b8180.zip chromium_src-3d7474fffebf62e0bbd2fe3f03996af3f28b8180.tar.gz chromium_src-3d7474fffebf62e0bbd2fe3f03996af3f28b8180.tar.bz2 |
Removal of Profile from content part 1.
BUG=76788
TEST=no change visible
Review URL: http://codereview.chromium.org/7464009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/visitedlink')
-rw-r--r-- | chrome/browser/visitedlink/visitedlink_unittest.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/visitedlink/visitedlink_unittest.cc b/chrome/browser/visitedlink/visitedlink_unittest.cc index 54fa310..86362a1 100644 --- a/chrome/browser/visitedlink/visitedlink_unittest.cc +++ b/chrome/browser/visitedlink/visitedlink_unittest.cc @@ -493,8 +493,9 @@ class VisitCountingProfile : public TestingProfile { // Stub out as little as possible, borrowing from BrowserRenderProcessHost. class VisitRelayingRenderProcessHost : public BrowserRenderProcessHost { public: - explicit VisitRelayingRenderProcessHost(Profile* profile) - : BrowserRenderProcessHost(profile) { + explicit VisitRelayingRenderProcessHost( + content::BrowserContext* browser_context) + : BrowserRenderProcessHost(browser_context) { NotificationService::current()->Notify( content::NOTIFICATION_RENDERER_PROCESS_CREATED, Source<RenderProcessHost>(this), NotificationService::NoDetails()); @@ -551,8 +552,9 @@ class VisitedLinkRenderProcessHostFactory public: VisitedLinkRenderProcessHostFactory() : RenderProcessHostFactory() {} - virtual RenderProcessHost* CreateRenderProcessHost(Profile* profile) const { - return new VisitRelayingRenderProcessHost(profile); + virtual RenderProcessHost* CreateRenderProcessHost( + content::BrowserContext* browser_context) const OVERRIDE { + return new VisitRelayingRenderProcessHost(browser_context); } private: |