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

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

Issue 1411503005: Aura on Android: content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@auraclank_upstream_select_file
Patch Set: Addressing remaining feedback, cleaning up build files. Created 5 years, 1 month 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 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 AddFilter(new DeviceOrientationAbsoluteMessageFilter()); 983 AddFilter(new DeviceOrientationAbsoluteMessageFilter());
984 AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER)); 984 AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER));
985 AddFilter(new HistogramMessageFilter()); 985 AddFilter(new HistogramMessageFilter());
986 #if defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID)) 986 #if defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID))
987 if (browser_command_line.HasSwitch(switches::kEnableMemoryBenchmarking)) 987 if (browser_command_line.HasSwitch(switches::kEnableMemoryBenchmarking))
988 AddFilter(new MemoryBenchmarkMessageFilter()); 988 AddFilter(new MemoryBenchmarkMessageFilter());
989 #endif 989 #endif
990 AddFilter(new MemoryMessageFilter()); 990 AddFilter(new MemoryMessageFilter());
991 AddFilter(new PushMessagingMessageFilter( 991 AddFilter(new PushMessagingMessageFilter(
992 GetID(), storage_partition_impl_->GetServiceWorkerContext())); 992 GetID(), storage_partition_impl_->GetServiceWorkerContext()));
993 #if defined(OS_ANDROID) 993 // TODO(mfomitchev): Screen Orientation APIs on Aura - crbug.com/546719.
994 #if defined(OS_ANDROID) && !defined(USE_AURA)
994 AddFilter(new ScreenOrientationMessageFilterAndroid()); 995 AddFilter(new ScreenOrientationMessageFilterAndroid());
995 #endif 996 #endif
996 AddFilter(new GeofencingDispatcherHost( 997 AddFilter(new GeofencingDispatcherHost(
997 storage_partition_impl_->GetGeofencingManager())); 998 storage_partition_impl_->GetGeofencingManager()));
998 if (browser_command_line.HasSwitch(switches::kEnableWebBluetooth)) { 999 if (browser_command_line.HasSwitch(switches::kEnableWebBluetooth)) {
999 bluetooth_dispatcher_host_ = new BluetoothDispatcherHost(GetID()); 1000 bluetooth_dispatcher_host_ = new BluetoothDispatcherHost(GetID());
1000 AddFilter(bluetooth_dispatcher_host_.get()); 1001 AddFilter(bluetooth_dispatcher_host_.get());
1001 } 1002 }
1002 } 1003 }
1003 1004
(...skipping 1619 matching lines...) Expand 10 before | Expand all | Expand 10 after
2623 void RenderProcessHostImpl::GetAudioOutputControllers( 2624 void RenderProcessHostImpl::GetAudioOutputControllers(
2624 const GetAudioOutputControllersCallback& callback) const { 2625 const GetAudioOutputControllersCallback& callback) const {
2625 audio_renderer_host()->GetOutputControllers(callback); 2626 audio_renderer_host()->GetOutputControllers(callback);
2626 } 2627 }
2627 2628
2628 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2629 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2629 return bluetooth_dispatcher_host_.get(); 2630 return bluetooth_dispatcher_host_.get();
2630 } 2631 }
2631 2632
2632 } // namespace content 2633 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698