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

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

Issue 1831173002: Scaffolding for Android implementation of PaymentRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo
Patch Set: Cleanup Created 4 years, 8 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 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 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 mojo_application_host_->service_registry()->AddService(base::Bind( 1080 mojo_application_host_->service_registry()->AddService(base::Bind(
1081 &BackgroundSyncContextImpl::CreateService, 1081 &BackgroundSyncContextImpl::CreateService,
1082 base::Unretained(storage_partition_impl_->GetBackgroundSyncContext()))); 1082 base::Unretained(storage_partition_impl_->GetBackgroundSyncContext())));
1083 1083
1084 mojo_application_host_->service_registry()->AddService( 1084 mojo_application_host_->service_registry()->AddService(
1085 base::Bind(&RenderProcessHostImpl::CreateStoragePartitionService, 1085 base::Bind(&RenderProcessHostImpl::CreateStoragePartitionService,
1086 base::Unretained(this))); 1086 base::Unretained(this)));
1087 1087
1088 #if defined(OS_ANDROID) 1088 #if defined(OS_ANDROID)
1089 ServiceRegistrarAndroid::RegisterProcessHostServices( 1089 ServiceRegistrarAndroid::RegisterProcessHostServices(
1090 mojo_application_host_->service_registry_android()); 1090 mojo_application_host_->service_registry());
1091 #endif 1091 #endif
1092 1092
1093 GetContentClient()->browser()->RegisterRenderProcessMojoServices( 1093 GetContentClient()->browser()->RegisterRenderProcessMojoServices(
1094 mojo_application_host_->service_registry()); 1094 mojo_application_host_->service_registry());
1095 } 1095 }
1096 1096
1097 void RenderProcessHostImpl::CreateStoragePartitionService( 1097 void RenderProcessHostImpl::CreateStoragePartitionService(
1098 mojo::InterfaceRequest<mojom::StoragePartitionService> request) { 1098 mojo::InterfaceRequest<mojom::StoragePartitionService> request) {
1099 // DO NOT REMOVE THIS COMMAND LINE CHECK WITHOUT SECURITY REVIEW! 1099 // DO NOT REMOVE THIS COMMAND LINE CHECK WITHOUT SECURITY REVIEW!
1100 if (base::CommandLine::ForCurrentProcess()->HasSwitch( 1100 if (base::CommandLine::ForCurrentProcess()->HasSwitch(
(...skipping 1691 matching lines...) Expand 10 before | Expand all | Expand 10 after
2792 2792
2793 // Skip widgets in other processes. 2793 // Skip widgets in other processes.
2794 if (rvh->GetProcess()->GetID() != GetID()) 2794 if (rvh->GetProcess()->GetID() != GetID())
2795 continue; 2795 continue;
2796 2796
2797 rvh->OnWebkitPreferencesChanged(); 2797 rvh->OnWebkitPreferencesChanged();
2798 } 2798 }
2799 } 2799 }
2800 2800
2801 } // namespace content 2801 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698