#ifndef UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_CONTENT_BROWSER_CLIENT_H_
#define UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_CONTENT_BROWSER_CLIENT_H_
#include "base/macros.h"
#include "content/public/browser/content_browser_client.h"
namespace content {
class ShellBrowserContext;
}
namespace views {
namespace examples {
class ExamplesBrowserMainParts;
class ExamplesContentBrowserClient : public content::ContentBrowserClient {
public:
ExamplesContentBrowserClient();
virtual ~ExamplesContentBrowserClient();
virtual content::BrowserMainParts* CreateBrowserMainParts(
const content::MainFunctionParams& parameters) OVERRIDE;
virtual net::URLRequestContextGetter* CreateRequestContext(
content::BrowserContext* browser_context,
content::ProtocolHandlerMap* protocol_handlers,
content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE;
private:
ExamplesBrowserMainParts* examples_browser_main_parts_;
DISALLOW_COPY_AND_ASSIGN(ExamplesContentBrowserClient);
};
}
}
#endif