| Index: chrome/browser/blocked_popup_container.cc
|
| ===================================================================
|
| --- chrome/browser/blocked_popup_container.cc (revision 19942)
|
| +++ chrome/browser/blocked_popup_container.cc (working copy)
|
| @@ -22,6 +22,15 @@
|
| }
|
|
|
| // static
|
| +BlockedPopupContainer* BlockedPopupContainer::Create(
|
| + TabContents* owner, Profile* profile, BlockedPopupContainerView* view) {
|
| + BlockedPopupContainer* container =
|
| + new BlockedPopupContainer(owner, profile->GetPrefs());
|
| + container->set_view(view);
|
| + return container;
|
| +}
|
| +
|
| +// static
|
| void BlockedPopupContainer::RegisterUserPrefs(PrefService* prefs) {
|
| prefs->RegisterListPref(prefs::kPopupWhitelistedHosts);
|
| }
|
|
|