From 3f45e747058ff88d56ade868918d99f830d11df9 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Sat, 13 Jun 2009 00:17:18 +0000 Subject: Create a basic test case for the common usage of BlockedPopupContainer. Review URL: http://codereview.chromium.org/125083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18336 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/blocked_popup_container.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser/blocked_popup_container.h') diff --git a/chrome/browser/blocked_popup_container.h b/chrome/browser/blocked_popup_container.h index 7833592..c7d94ea 100644 --- a/chrome/browser/blocked_popup_container.h +++ b/chrome/browser/blocked_popup_container.h @@ -207,7 +207,7 @@ class BlockedPopupContainer : public TabContentsDelegate, typedef std::map PopupHosts; // Hides the UI portion of the container. - virtual void HideSelf(); + void HideSelf(); // Helper function to convert a host index (which the view uses) into an // iterator into |popup_hosts_|. Returns popup_hosts_.end() if |index| is @@ -224,6 +224,7 @@ class BlockedPopupContainer : public TabContentsDelegate, private: friend class BlockedPopupContainerImpl; + friend class BlockedPopupContainerTest; // string is hostname. typedef std::set Whitelist; -- cgit v1.1