diff options
Diffstat (limited to 'chrome/browser/ui/webui/web_dialog_controller.h')
-rw-r--r-- | chrome/browser/ui/webui/web_dialog_controller.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/web_dialog_controller.h b/chrome/browser/ui/webui/web_dialog_controller.h index 7188a38..cb2ce57 100644 --- a/chrome/browser/ui/webui/web_dialog_controller.h +++ b/chrome/browser/ui/webui/web_dialog_controller.h @@ -11,7 +11,10 @@ #include "ui/web_dialogs/web_dialog_ui.h" class Browser; -class Profile; + +namespace content { +class BrowserContext; +} // This provides the common functionality for WebDialogs of notifying the // dialog that it should close when the browser that created it has closed to @@ -19,7 +22,7 @@ class Profile; class WebDialogController : public content::NotificationObserver { public: WebDialogController(ui::WebDialogDelegate* delegate, - Profile* profile, + content::BrowserContext* context, Browser* browser); // content::NotificationObserver implementation. |