OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #include "content/browser/geolocation/geolocation_dispatcher_host.h" | 5 #include "content/browser/geolocation/geolocation_dispatcher_host.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 | 288 |
289 // static | 289 // static |
290 GeolocationDispatcherHost* GeolocationDispatcherHost::New( | 290 GeolocationDispatcherHost* GeolocationDispatcherHost::New( |
291 int render_process_id, | 291 int render_process_id, |
292 GeolocationPermissionContext* geolocation_permission_context) { | 292 GeolocationPermissionContext* geolocation_permission_context) { |
293 return new GeolocationDispatcherHostImpl( | 293 return new GeolocationDispatcherHostImpl( |
294 render_process_id, | 294 render_process_id, |
295 geolocation_permission_context); | 295 geolocation_permission_context); |
296 } | 296 } |
297 | 297 |
298 GeolocationDispatcherHost::GeolocationDispatcherHost() { | 298 GeolocationDispatcherHost::GeolocationDispatcherHost() |
| 299 : BrowserMessageFilter(GeolocationMsgStart) { |
299 } | 300 } |
300 | 301 |
301 GeolocationDispatcherHost::~GeolocationDispatcherHost() { | 302 GeolocationDispatcherHost::~GeolocationDispatcherHost() { |
302 } | 303 } |
303 | 304 |
304 } // namespace content | 305 } // namespace content |
OLD | NEW |