Index: chrome/browser/ui/apps/chrome_shell_window_delegate.h |
diff --git a/chrome/browser/ui/apps/chrome_shell_window_delegate.h b/chrome/browser/ui/apps/chrome_shell_window_delegate.h |
index 1cd3fd762a15202a05f2f2c67644fe9ac5bf2f80..026e67ccb43a0b5664cfd84c7a3a925b3ff4f774 100644 |
--- a/chrome/browser/ui/apps/chrome_shell_window_delegate.h |
+++ b/chrome/browser/ui/apps/chrome_shell_window_delegate.h |
@@ -7,12 +7,15 @@ |
#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(); |
@@ -40,10 +43,10 @@ class ChromeShellWindowDelegate : public apps::ShellWindow::Delegate { |
apps::ShellWindow* window, |
const apps::ShellWindow::CreateParams& params) OVERRIDE; |
virtual content::WebContents* OpenURLFromTab( |
- Profile* profile, |
+ content::BrowserContext* context, |
content::WebContents* source, |
const content::OpenURLParams& params) OVERRIDE; |
- virtual void AddNewContents(Profile* profile, |
+ virtual void AddNewContents(content::BrowserContext* context, |
content::WebContents* new_contents, |
WindowOpenDisposition disposition, |
const gfx::Rect& initial_pos, |