Index: apps/shell/browser/shell_content_browser_client.h |
diff --git a/apps/shell/browser/shell_content_browser_client.h b/apps/shell/browser/shell_content_browser_client.h |
index 102173f697d5bef3e3fc503a5731ec1d6e0e6a71..7fbe3a14dd4d8a0f79833d55af5adddc93030d5d 100644 |
--- a/apps/shell/browser/shell_content_browser_client.h |
+++ b/apps/shell/browser/shell_content_browser_client.h |
@@ -19,12 +19,14 @@ class Extension; |
} |
namespace apps { |
+class ShellBrowserMainDelegate; |
class ShellBrowserMainParts; |
// Content module browser process support for app_shell. |
class ShellContentBrowserClient : public content::ContentBrowserClient { |
public: |
- ShellContentBrowserClient(); |
+ explicit ShellContentBrowserClient( |
+ ShellBrowserMainDelegate* browser_main_delegate); |
virtual ~ShellContentBrowserClient(); |
// Returns the single instance. |
@@ -64,6 +66,9 @@ class ShellContentBrowserClient : public content::ContentBrowserClient { |
// Owned by content::BrowserMainLoop. |
ShellBrowserMainParts* browser_main_parts_; |
+ // Owned by ShellBrowserMainParts. |
+ ShellBrowserMainDelegate* browser_main_delegate_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); |
}; |