| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 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. | |
| 4 | |
| 5 #ifndef UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_CONTENT_BROWSER_CLIENT_H_ | |
| 6 #define UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_CONTENT_BROWSER_CLIENT_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "content/public/browser/content_browser_client.h" | |
| 10 | |
| 11 namespace content { | |
| 12 class ShellBrowserContext; | |
| 13 } | |
| 14 | |
| 15 namespace views { | |
| 16 namespace examples { | |
| 17 | |
| 18 class ExamplesBrowserMainParts; | |
| 19 | |
| 20 class ExamplesContentBrowserClient : public content::ContentBrowserClient { | |
| 21 public: | |
| 22 ExamplesContentBrowserClient(); | |
| 23 virtual ~ExamplesContentBrowserClient(); | |
| 24 | |
| 25 // content::ContentBrowserClient: | |
| 26 virtual content::BrowserMainParts* CreateBrowserMainParts( | |
| 27 const content::MainFunctionParams& parameters) OVERRIDE; | |
| 28 virtual net::URLRequestContextGetter* CreateRequestContext( | |
| 29 content::BrowserContext* browser_context, | |
| 30 content::ProtocolHandlerMap* protocol_handlers, | |
| 31 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; | |
| 32 | |
| 33 private: | |
| 34 ExamplesBrowserMainParts* examples_browser_main_parts_; | |
| 35 | |
| 36 DISALLOW_COPY_AND_ASSIGN(ExamplesContentBrowserClient); | |
| 37 }; | |
| 38 | |
| 39 } // namespace examples | |
| 40 } // namespace views | |
| 41 | |
| 42 #endif // UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_CONTENT_BROWSER_CLIENT_H_ | |
| OLD | NEW |