1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_
8 #include "content/public/browser/browser_message_filter.h"
12 class GeolocationPermissionContext
;
14 // GeolocationDispatcherHost is a browser filter for Geolocation messages.
15 // It's the complement of GeolocationDispatcher (owned by RenderView).
16 class GeolocationDispatcherHost
: public BrowserMessageFilter
{
18 static GeolocationDispatcherHost
* New(
19 int render_process_id
,
20 GeolocationPermissionContext
* geolocation_permission_context
);
23 GeolocationDispatcherHost();
24 virtual ~GeolocationDispatcherHost();
26 DISALLOW_COPY_AND_ASSIGN(GeolocationDispatcherHost
);
29 } // namespace content
31 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_