| Index: chrome/browser/blocked_popup_container.h
|
| diff --git a/chrome/browser/blocked_popup_container.h b/chrome/browser/blocked_popup_container.h
|
| index c63243802c398c7fc8a6e9333c58590ee9ea52fc..ebffd23d6fee39ec87f22b44f28c3f3718ee5427 100644
|
| --- a/chrome/browser/blocked_popup_container.h
|
| +++ b/chrome/browser/blocked_popup_container.h
|
| @@ -81,6 +81,9 @@ class BlockedPopupContainer : public TabContentsDelegate,
|
|
|
| static void RegisterUserPrefs(PrefService* prefs);
|
|
|
| + // Returns the profile associated with the Browser this container exists in.
|
| + Profile* profile() const { return profile_; }
|
| +
|
| // Sets this BlockedPopupContainer's view. BlockedPopupContainer now owns
|
| // |view| and is responsible for calling Destroy() on it.
|
| void set_view(BlockedPopupContainerView* view) { view_ = view; }
|
| @@ -229,7 +232,7 @@ class BlockedPopupContainer : public TabContentsDelegate,
|
| typedef std::set<std::string> Whitelist;
|
|
|
| // Creates a container for a certain TabContents:
|
| - BlockedPopupContainer(TabContents* owner, PrefService* prefs);
|
| + BlockedPopupContainer(TabContents* owner, Profile* profile);
|
|
|
| // Either hides the view if there are no popups, or updates the label if
|
| // there are.
|
| @@ -267,6 +270,9 @@ class BlockedPopupContainer : public TabContentsDelegate,
|
| // Our platform specific view.
|
| BlockedPopupContainerView* view_;
|
|
|
| + // The profile for the browser associated with the container.
|
| + Profile* profile_;
|
| +
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(BlockedPopupContainer);
|
| };
|
|
|
|
|