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

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

Issue 1972733002: Delete geofencing implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test expectations Created 4 years, 7 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 #include "content/browser/child_process_security_policy_impl.h" 60 #include "content/browser/child_process_security_policy_impl.h"
61 #include "content/browser/device_sensors/device_light_message_filter.h" 61 #include "content/browser/device_sensors/device_light_message_filter.h"
62 #include "content/browser/device_sensors/device_motion_message_filter.h" 62 #include "content/browser/device_sensors/device_motion_message_filter.h"
63 #include "content/browser/device_sensors/device_orientation_absolute_message_fil ter.h" 63 #include "content/browser/device_sensors/device_orientation_absolute_message_fil ter.h"
64 #include "content/browser/device_sensors/device_orientation_message_filter.h" 64 #include "content/browser/device_sensors/device_orientation_message_filter.h"
65 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" 65 #include "content/browser/dom_storage/dom_storage_context_wrapper.h"
66 #include "content/browser/dom_storage/dom_storage_message_filter.h" 66 #include "content/browser/dom_storage/dom_storage_message_filter.h"
67 #include "content/browser/fileapi/chrome_blob_storage_context.h" 67 #include "content/browser/fileapi/chrome_blob_storage_context.h"
68 #include "content/browser/fileapi/fileapi_message_filter.h" 68 #include "content/browser/fileapi/fileapi_message_filter.h"
69 #include "content/browser/frame_host/render_frame_message_filter.h" 69 #include "content/browser/frame_host/render_frame_message_filter.h"
70 #include "content/browser/geofencing/geofencing_dispatcher_host.h"
71 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" 70 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h"
72 #include "content/browser/gpu/compositor_util.h" 71 #include "content/browser/gpu/compositor_util.h"
73 #include "content/browser/gpu/gpu_data_manager_impl.h" 72 #include "content/browser/gpu/gpu_data_manager_impl.h"
74 #include "content/browser/gpu/gpu_process_host.h" 73 #include "content/browser/gpu/gpu_process_host.h"
75 #include "content/browser/gpu/shader_disk_cache.h" 74 #include "content/browser/gpu/shader_disk_cache.h"
76 #include "content/browser/histogram_message_filter.h" 75 #include "content/browser/histogram_message_filter.h"
77 #include "content/browser/indexed_db/indexed_db_context_impl.h" 76 #include "content/browser/indexed_db/indexed_db_context_impl.h"
78 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h" 77 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h"
79 #include "content/browser/loader/resource_message_filter.h" 78 #include "content/browser/loader/resource_message_filter.h"
80 #include "content/browser/loader/resource_scheduler_filter.h" 79 #include "content/browser/loader/resource_scheduler_filter.h"
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 AddFilter(new DeviceOrientationMessageFilter()); 997 AddFilter(new DeviceOrientationMessageFilter());
999 AddFilter(new DeviceOrientationAbsoluteMessageFilter()); 998 AddFilter(new DeviceOrientationAbsoluteMessageFilter());
1000 AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER)); 999 AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER));
1001 AddFilter(new HistogramMessageFilter()); 1000 AddFilter(new HistogramMessageFilter());
1002 AddFilter(new MemoryMessageFilter(this)); 1001 AddFilter(new MemoryMessageFilter(this));
1003 AddFilter(new PushMessagingMessageFilter( 1002 AddFilter(new PushMessagingMessageFilter(
1004 GetID(), storage_partition_impl_->GetServiceWorkerContext())); 1003 GetID(), storage_partition_impl_->GetServiceWorkerContext()));
1005 #if defined(OS_ANDROID) 1004 #if defined(OS_ANDROID)
1006 AddFilter(new ScreenOrientationMessageFilterAndroid()); 1005 AddFilter(new ScreenOrientationMessageFilterAndroid());
1007 #endif 1006 #endif
1008 AddFilter(new GeofencingDispatcherHost(
1009 storage_partition_impl_->GetGeofencingManager()));
1010 1007
1011 bool enable_web_bluetooth = 1008 bool enable_web_bluetooth =
1012 browser_command_line.HasSwitch(switches::kEnableWebBluetooth); 1009 browser_command_line.HasSwitch(switches::kEnableWebBluetooth);
1013 #if defined(OS_CHROMEOS) || defined(OS_ANDROID) 1010 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
1014 enable_web_bluetooth = true; 1011 enable_web_bluetooth = true;
1015 #endif 1012 #endif
1016 1013
1017 if (enable_web_bluetooth) { 1014 if (enable_web_bluetooth) {
1018 bluetooth_dispatcher_host_ = new BluetoothDispatcherHost(GetID()); 1015 bluetooth_dispatcher_host_ = new BluetoothDispatcherHost(GetID());
1019 AddFilter(bluetooth_dispatcher_host_.get()); 1016 AddFilter(bluetooth_dispatcher_host_.get());
(...skipping 1740 matching lines...) Expand 10 before | Expand all | Expand 10 after
2760 2757
2761 // Skip widgets in other processes. 2758 // Skip widgets in other processes.
2762 if (rvh->GetProcess()->GetID() != GetID()) 2759 if (rvh->GetProcess()->GetID() != GetID())
2763 continue; 2760 continue;
2764 2761
2765 rvh->OnWebkitPreferencesChanged(); 2762 rvh->OnWebkitPreferencesChanged();
2766 } 2763 }
2767 } 2764 }
2768 2765
2769 } // namespace content 2766 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698