Index: content/browser/renderer_host/render_process_host_impl.h |
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h |
index 681d3295cf3bf9f828414d0d1f63df157ddb4e64..46197d667b7d6a8c6ecdd3d5fe6a54c6985f87b3 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -13,6 +13,7 @@ |
#include "base/process/process.h" |
#include "base/timer/timer.h" |
#include "content/browser/child_process_launcher.h" |
+#include "content/browser/geolocation/geolocation_dispatcher_host.h" |
#include "content/browser/power_monitor_message_broadcaster.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/global_request_id.h" |
@@ -35,6 +36,7 @@ class Size; |
namespace content { |
class AudioRendererHost; |
class BrowserDemuxerAndroid; |
+class GeolocationDispatcherHost; |
class GpuMessageFilter; |
class MessagePortMessageFilter; |
class PeerConnectionTrackerHost; |
@@ -150,6 +152,10 @@ class CONTENT_EXPORT RenderProcessHostImpl |
scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber); |
void EndFrameSubscription(int route_id); |
+ GeolocationDispatcherHost* geolocation_dispatcher_host() { |
+ return geolocation_dispatcher_host_; |
+ } |
+ |
// Register/unregister the host identified by the host id in the global host |
// list. |
static void RegisterHost(int host_id, RenderProcessHost* host); |
@@ -347,6 +353,9 @@ class CONTENT_EXPORT RenderProcessHostImpl |
scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_; |
#endif |
+ // Message filter for geolocation messages. |
+ GeolocationDispatcherHost* geolocation_dispatcher_host_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
}; |