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

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

Issue 1985863002: Incorporate BlobChannel into Blimp image encode/decode pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blobchannel-helium
Patch Set: fix gn dependency warning & rebase Created 4 years, 6 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
« no previous file with comments | « blimp/engine/app/blimp_browser_main_parts.cc ('k') | blimp/engine/mojo/blob_channel.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/app/blimp_content_browser_client.h" 5 #include "blimp/engine/app/blimp_content_browser_client.h"
6 #include "blimp/engine/app/blimp_browser_main_parts.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 "content/public/common/service_registry.h" 9 #include "content/public/common/service_registry.h"
10 10
(...skipping 24 matching lines...) Expand all
35 prefs); 35 prefs);
36 } 36 }
37 37
38 BlimpBrowserContext* BlimpContentBrowserClient::GetBrowserContext() { 38 BlimpBrowserContext* BlimpContentBrowserClient::GetBrowserContext() {
39 return blimp_browser_main_parts_->GetBrowserContext(); 39 return blimp_browser_main_parts_->GetBrowserContext();
40 } 40 }
41 41
42 void BlimpContentBrowserClient::RegisterRenderProcessMojoServices( 42 void BlimpContentBrowserClient::RegisterRenderProcessMojoServices(
43 content::ServiceRegistry* registry) { 43 content::ServiceRegistry* registry) {
44 registry->AddService<mojom::BlobChannel>( 44 registry->AddService<mojom::BlobChannel>(
45 base::Bind(&BlobChannelService::Create)); 45 base::Bind(&BlobChannelService::Create,
46 blimp_browser_main_parts_->GetBlobChannelSender()));
46 } 47 }
47 48
48 } // namespace engine 49 } // namespace engine
49 } // namespace blimp 50 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/engine/app/blimp_browser_main_parts.cc ('k') | blimp/engine/mojo/blob_channel.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698