summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background_contents_service.h
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-18 19:57:53 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-18 19:57:53 +0000
commit235b69a529ea2ad1529ac478e76894713acb40f8 (patch)
tree0ba24c5ba811ef0947bd85d6b6ab7bc0ddf05a38 /chrome/browser/background_contents_service.h
parent1ab006c27baafb2736a267f14fe2ea71ebfc73a1 (diff)
downloadchromium_src-235b69a529ea2ad1529ac478e76894713acb40f8.zip
chromium_src-235b69a529ea2ad1529ac478e76894713acb40f8.tar.gz
chromium_src-235b69a529ea2ad1529ac478e76894713acb40f8.tar.bz2
Blow away BackgroundContents when RenderView goes away.
Reopening, because this CL broke NoticeNotificationChanges on XP for some reason, so I'm going to undo my (now superfluous) changes to flush the queue in WaitForResourceChange(). BUG=65189 TEST=TaskManagerBrowserTest.KillBGContents Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71458 Review URL: http://codereview.chromium.org/6226002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71688 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background_contents_service.h')
-rw-r--r--chrome/browser/background_contents_service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/background_contents_service.h b/chrome/browser/background_contents_service.h
index 7fe16ac..3a167c6 100644
--- a/chrome/browser/background_contents_service.h
+++ b/chrome/browser/background_contents_service.h
@@ -84,6 +84,8 @@ class BackgroundContentsService : private NotificationObserver,
TestApplicationIDLinkage);
FRIEND_TEST_ALL_PREFIXES(TaskManagerBrowserTest,
NoticeBGContentsChanges);
+ FRIEND_TEST_ALL_PREFIXES(TaskManagerBrowserTest,
+ KillBGContents);
// Registers for various notifications.
void StartObserving(Profile* profile);