summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/apps/chrome_shell_window_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/apps/chrome_shell_window_delegate.h')
-rw-r--r--chrome/browser/ui/apps/chrome_shell_window_delegate.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/browser/ui/apps/chrome_shell_window_delegate.h b/chrome/browser/ui/apps/chrome_shell_window_delegate.h
index 026e67c..1cd3fd7 100644
--- a/chrome/browser/ui/apps/chrome_shell_window_delegate.h
+++ b/chrome/browser/ui/apps/chrome_shell_window_delegate.h
@@ -7,15 +7,12 @@
#include "apps/shell_window.h"
#include "base/memory/scoped_ptr.h"
+#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_delegate.h"
#include "ui/base/window_open_disposition.h"
#include "ui/gfx/rect.h"
-namespace content {
-class BrowserContext;
-}
-
class ShellWindowLinkDelegate : public content::WebContentsDelegate {
public:
ShellWindowLinkDelegate();
@@ -43,10 +40,10 @@ class ChromeShellWindowDelegate : public apps::ShellWindow::Delegate {
apps::ShellWindow* window,
const apps::ShellWindow::CreateParams& params) OVERRIDE;
virtual content::WebContents* OpenURLFromTab(
- content::BrowserContext* context,
+ Profile* profile,
content::WebContents* source,
const content::OpenURLParams& params) OVERRIDE;
- virtual void AddNewContents(content::BrowserContext* context,
+ virtual void AddNewContents(Profile* profile,
content::WebContents* new_contents,
WindowOpenDisposition disposition,
const gfx::Rect& initial_pos,