summaryrefslogtreecommitdiffstats
path: root/chrome/browser/blocked_popup_container.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-13 00:17:18 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-13 00:17:18 +0000
commit3f45e747058ff88d56ade868918d99f830d11df9 (patch)
tree9d27f816d82e7e4210f2a0a6672549c73dd60fdc /chrome/browser/blocked_popup_container.h
parent6d21eb72d7333889badc108afe21dd1bc52e1135 (diff)
downloadchromium_src-3f45e747058ff88d56ade868918d99f830d11df9.zip
chromium_src-3f45e747058ff88d56ade868918d99f830d11df9.tar.gz
chromium_src-3f45e747058ff88d56ade868918d99f830d11df9.tar.bz2
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
Diffstat (limited to 'chrome/browser/blocked_popup_container.h')
-rw-r--r--chrome/browser/blocked_popup_container.h3
1 files changed, 2 insertions, 1 deletions
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<std::string, bool> 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<std::string> Whitelist;