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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1283703003: Change ownership of BackgroundSyncServiceImpl to BackgroundSyncContextImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo Created 5 years, 4 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 | « content/browser/background_sync/background_sync_service_impl_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 base::Bind(&device::BatteryMonitorImpl::Create)); 957 base::Bind(&device::BatteryMonitorImpl::Create));
958 958
959 mojo_application_host_->service_registry()->AddService( 959 mojo_application_host_->service_registry()->AddService(
960 base::Bind(&device::VibrationManagerImpl::Create)); 960 base::Bind(&device::VibrationManagerImpl::Create));
961 961
962 mojo_application_host_->service_registry()->AddService( 962 mojo_application_host_->service_registry()->AddService(
963 base::Bind(&PermissionServiceContext::CreateService, 963 base::Bind(&PermissionServiceContext::CreateService,
964 base::Unretained(permission_service_context_.get()))); 964 base::Unretained(permission_service_context_.get())));
965 965
966 mojo_application_host_->service_registry()->AddService(base::Bind( 966 mojo_application_host_->service_registry()->AddService(base::Bind(
967 &content::BackgroundSyncServiceImpl::Create, 967 &BackgroundSyncContextImpl::CreateService,
968 base::Unretained(storage_partition_impl_->GetBackgroundSyncContext()))); 968 base::Unretained(storage_partition_impl_->GetBackgroundSyncContext())));
969 969
970 mojo_application_host_->service_registry()->AddService(base::Bind( 970 mojo_application_host_->service_registry()->AddService(base::Bind(
971 &content::ServicePortServiceImpl::Create, 971 &content::ServicePortServiceImpl::Create,
972 make_scoped_refptr(storage_partition_impl_->GetNavigatorConnectContext()), 972 make_scoped_refptr(storage_partition_impl_->GetNavigatorConnectContext()),
973 message_port_message_filter_)); 973 message_port_message_filter_));
974 974
975 #if defined(OS_ANDROID) 975 #if defined(OS_ANDROID)
976 ServiceRegistrarAndroid::RegisterProcessHostServices( 976 ServiceRegistrarAndroid::RegisterProcessHostServices(
977 mojo_application_host_->service_registry_android()); 977 mojo_application_host_->service_registry_android());
(...skipping 1550 matching lines...) Expand 10 before | Expand all | Expand 10 after
2528 void RenderProcessHostImpl::GetAudioOutputControllers( 2528 void RenderProcessHostImpl::GetAudioOutputControllers(
2529 const GetAudioOutputControllersCallback& callback) const { 2529 const GetAudioOutputControllersCallback& callback) const {
2530 audio_renderer_host()->GetOutputControllers(callback); 2530 audio_renderer_host()->GetOutputControllers(callback);
2531 } 2531 }
2532 2532
2533 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2533 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2534 return bluetooth_dispatcher_host_.get(); 2534 return bluetooth_dispatcher_host_.get();
2535 } 2535 }
2536 2536
2537 } // namespace content 2537 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/background_sync/background_sync_service_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698