Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: blimp/engine/browser/blimp_content_browser_client.cc

Issue 1403083002: [Blimp] Adds Blimp EngineSession and ClientSession skeleton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « blimp/engine/browser/blimp_content_browser_client.h ('k') | blimp/engine/browser/blimp_engine_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698