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 2f1040aaa9647f5a2fd25719597d2b89178547a1..e613aa82d1047c1c4821ae6126bc647306d4b302 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -14,6 +14,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" |
@@ -36,6 +37,7 @@ class Size; |
namespace content { |
class AudioRendererHost; |
class BrowserDemuxerAndroid; |
+class GeolocationDispatcherHost; |
class GpuMessageFilter; |
class MessagePortMessageFilter; |
class PeerConnectionTrackerHost; |
@@ -153,6 +155,11 @@ class CONTENT_EXPORT RenderProcessHostImpl |
scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber); |
void EndFrameSubscription(int route_id); |
+ scoped_refptr<GeolocationDispatcherHost> |
+ geolocation_dispatcher_host() const { |
+ return make_scoped_refptr(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); |
@@ -361,6 +368,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); |
}; |