1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_
10 #include "base/compiler_specific.h"
11 #include "content/public/browser/content_browser_client.h"
14 class ShellBrowserContext;
15 class ShellBrowserMainParts;
16 class ShellResourceDispatcherHostDelegate;
22 class ShellBrowserMainParts;
24 class ShellContentBrowserClient : public content::ContentBrowserClient {
26 ShellContentBrowserClient();
27 virtual ~ShellContentBrowserClient();
29 // Overridden from content::ContentBrowserClient:
30 virtual content::BrowserMainParts* CreateBrowserMainParts(
31 const content::MainFunctionParams& parameters) OVERRIDE;
32 virtual net::URLRequestContextGetter* CreateRequestContext(
33 content::BrowserContext* browser_context,
34 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
36 content::ShellBrowserContext* browser_context();
39 ShellBrowserMainParts* shell_browser_main_parts_;
41 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient);
47 #endif // ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_