Index: content/browser/geolocation/geolocation_dispatcher_host.cc |
diff --git a/content/browser/geolocation/geolocation_dispatcher_host.cc b/content/browser/geolocation/geolocation_dispatcher_host.cc |
index e461e63464df619e0219e79c9dd8bb804c95b9c9..9b9ccad368ffda5f361744f2884343a05758fa0c 100644 |
--- a/content/browser/geolocation/geolocation_dispatcher_host.cc |
+++ b/content/browser/geolocation/geolocation_dispatcher_host.cc |
@@ -21,6 +21,10 @@ |
namespace content { |
namespace { |
+const uint32 kFilteredMessageClasses[] = { |
+ GeolocationMsgStart, |
+}; |
+ |
void NotifyGeolocationProviderPermissionGranted() { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
GeolocationProviderImpl::GetInstance()->UserDidOptIntoLocationServices(); |
@@ -295,8 +299,9 @@ GeolocationDispatcherHost* GeolocationDispatcherHost::New( |
geolocation_permission_context); |
} |
-GeolocationDispatcherHost::GeolocationDispatcherHost() { |
-} |
+GeolocationDispatcherHost::GeolocationDispatcherHost() |
+ : BrowserMessageFilter( |
+ kFilteredMessageClasses, arraysize(kFilteredMessageClasses)) {} |
GeolocationDispatcherHost::~GeolocationDispatcherHost() { |
} |