| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "blimp/engine/browser/blimp_content_browser_client.h" | 5 #include "blimp/engine/browser/blimp_content_browser_client.h" |
| 6 #include "blimp/engine/browser/blimp_browser_context.h" | 6 #include "blimp/engine/browser/blimp_browser_context.h" |
| 7 #include "blimp/engine/browser/blimp_browser_main_parts.h" | 7 #include "blimp/engine/browser/blimp_browser_main_parts.h" |
| 8 | 8 |
| 9 namespace blimp { | 9 namespace blimp { |
| 10 namespace engine { | 10 namespace engine { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 content::BrowserContext* content_browser_context, | 24 content::BrowserContext* content_browser_context, |
| 25 content::ProtocolHandlerMap* protocol_handlers, | 25 content::ProtocolHandlerMap* protocol_handlers, |
| 26 content::URLRequestInterceptorScopedVector request_interceptors) { | 26 content::URLRequestInterceptorScopedVector request_interceptors) { |
| 27 BlimpBrowserContext* blimp_context = | 27 BlimpBrowserContext* blimp_context = |
| 28 static_cast<BlimpBrowserContext*>(content_browser_context); | 28 static_cast<BlimpBrowserContext*>(content_browser_context); |
| 29 return blimp_context->CreateRequestContext(protocol_handlers, | 29 return blimp_context->CreateRequestContext(protocol_handlers, |
| 30 request_interceptors.Pass()) | 30 request_interceptors.Pass()) |
| 31 .get(); | 31 .get(); |
| 32 } | 32 } |
| 33 | 33 |
| 34 BlimpBrowserContext* BlimpContentBrowserClient::browser_context() { | 34 BlimpBrowserContext* BlimpContentBrowserClient::GetBrowserContext() { |
| 35 return blimp_browser_main_parts_->browser_context(); | 35 return blimp_browser_main_parts_->GetBrowserContext(); |
| 36 } | 36 } |
| 37 | 37 |
| 38 } // namespace engine | 38 } // namespace engine |
| 39 } // namespace blimp | 39 } // namespace blimp |
| OLD | NEW |