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/app/blimp_browser_main_parts.h" |
5 #include "blimp/engine/app/blimp_content_browser_client.h" | 6 #include "blimp/engine/app/blimp_content_browser_client.h" |
6 #include "blimp/engine/app/blimp_browser_main_parts.h" | |
7 #include "blimp/engine/app/settings_manager.h" | 7 #include "blimp/engine/app/settings_manager.h" |
8 #include "blimp/engine/mojo/blob_channel_service.h" | 8 #include "blimp/engine/mojo/blob_channel_service.h" |
9 #include "services/shell/public/cpp/interface_registry.h" | 9 #include "services/shell/public/cpp/interface_registry.h" |
10 | 10 |
11 namespace blimp { | 11 namespace blimp { |
12 namespace engine { | 12 namespace engine { |
13 | 13 |
14 BlimpContentBrowserClient::BlimpContentBrowserClient() {} | 14 BlimpContentBrowserClient::BlimpContentBrowserClient() {} |
15 | 15 |
16 BlimpContentBrowserClient::~BlimpContentBrowserClient() {} | 16 BlimpContentBrowserClient::~BlimpContentBrowserClient() {} |
(...skipping 25 matching lines...) Expand all Loading... |
42 void BlimpContentBrowserClient::ExposeInterfacesToRenderer( | 42 void BlimpContentBrowserClient::ExposeInterfacesToRenderer( |
43 shell::InterfaceRegistry* registry, | 43 shell::InterfaceRegistry* registry, |
44 content::RenderProcessHost* render_process_host) { | 44 content::RenderProcessHost* render_process_host) { |
45 registry->AddInterface<mojom::BlobChannel>( | 45 registry->AddInterface<mojom::BlobChannel>( |
46 base::Bind(&BlobChannelService::Create, | 46 base::Bind(&BlobChannelService::Create, |
47 blimp_browser_main_parts_->GetBlobChannelSender())); | 47 blimp_browser_main_parts_->GetBlobChannelSender())); |
48 } | 48 } |
49 | 49 |
50 } // namespace engine | 50 } // namespace engine |
51 } // namespace blimp | 51 } // namespace blimp |
OLD | NEW |