diff options
author | idanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-21 17:47:08 +0000 |
---|---|---|
committer | idanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-21 17:47:08 +0000 |
commit | 3e7cf136004dd8f5a8e521360b5d602e7b1af0c2 (patch) | |
tree | 3f78cab4b9f030786bfb0224e479282770c46d24 /chrome/browser/blocked_popup_container.cc | |
parent | 7ed6bc6bcd311741da22bf45d8a88f5de89eadf8 (diff) | |
download | chromium_src-3e7cf136004dd8f5a8e521360b5d602e7b1af0c2.zip chromium_src-3e7cf136004dd8f5a8e521360b5d602e7b1af0c2.tar.gz chromium_src-3e7cf136004dd8f5a8e521360b5d602e7b1af0c2.tar.bz2 |
Send notice for blackisted non-visual resources
This is just the piping to call into the blocked_popup_container
(which shall be later renamed and expanded to a generalized blocked
resource container) from the browser's request context.
BUG=16932
TEST=none
Review URL: http://codereview.chromium.org/171109
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23973 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/blocked_popup_container.cc')
-rw-r--r-- | chrome/browser/blocked_popup_container.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/blocked_popup_container.cc b/chrome/browser/blocked_popup_container.cc index 13bd6a7..4df5bef 100644 --- a/chrome/browser/blocked_popup_container.cc +++ b/chrome/browser/blocked_popup_container.cc @@ -105,6 +105,11 @@ void BlockedPopupContainer::LaunchPopupAtIndex(size_t index) { EraseDataForPopupAndUpdateUI(i); } +void BlockedPopupContainer::AddBlockedNotice(const GURL& url, + const string16& reason) { + // TODO(idanan): Implement this. See header for description. +} + size_t BlockedPopupContainer::GetBlockedPopupCount() const { return blocked_popups_.size(); } |