OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/geolocation/geolocation_dispatcher_host_old.h" | 5 #include "chrome/browser/geolocation/geolocation_dispatcher_host_old.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "chrome/common/geoposition.h" | 11 #include "chrome/common/geoposition.h" |
12 #include "chrome/browser/geolocation/geolocation_permission_context.h" | 12 #include "chrome/browser/geolocation/geolocation_permission_context.h" |
13 #include "chrome/browser/geolocation/geolocation_provider.h" | 13 #include "chrome/browser/geolocation/geolocation_provider.h" |
14 #include "chrome/browser/renderer_host/render_process_host.h" | 14 #include "chrome/browser/renderer_host/render_process_host.h" |
15 #include "chrome/browser/renderer_host/render_view_host.h" | 15 #include "chrome/browser/renderer_host/render_view_host.h" |
16 #include "chrome/browser/renderer_host/render_view_host_notification_task.h" | 16 #include "chrome/browser/renderer_host/render_view_host_notification_task.h" |
17 #include "chrome/browser/renderer_host/resource_message_filter.h" | 17 #include "chrome/browser/renderer_host/render_message_filter.h" |
willchan no longer on Chromium
2010/12/13 23:09:07
sort alphabetically
| |
18 #include "chrome/common/render_messages.h" | 18 #include "chrome/common/render_messages.h" |
19 #include "ipc/ipc_message.h" | 19 #include "ipc/ipc_message.h" |
20 | 20 |
21 namespace { | 21 namespace { |
22 class GeolocationDispatcherHostOldImpl : public GeolocationDispatcherHostOld, | 22 class GeolocationDispatcherHostOldImpl : public GeolocationDispatcherHostOld, |
23 public GeolocationObserver { | 23 public GeolocationObserver { |
24 public: | 24 public: |
25 GeolocationDispatcherHostOldImpl( | 25 GeolocationDispatcherHostOldImpl( |
26 int resource_message_filter_process_id, | 26 int resource_message_filter_process_id, |
27 GeolocationPermissionContext* geolocation_permission_context); | 27 GeolocationPermissionContext* geolocation_permission_context); |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
230 } | 230 } |
231 } // namespace | 231 } // namespace |
232 | 232 |
233 GeolocationDispatcherHostOld* GeolocationDispatcherHostOld::New( | 233 GeolocationDispatcherHostOld* GeolocationDispatcherHostOld::New( |
234 int resource_message_filter_process_id, | 234 int resource_message_filter_process_id, |
235 GeolocationPermissionContext* geolocation_permission_context) { | 235 GeolocationPermissionContext* geolocation_permission_context) { |
236 return new GeolocationDispatcherHostOldImpl( | 236 return new GeolocationDispatcherHostOldImpl( |
237 resource_message_filter_process_id, | 237 resource_message_filter_process_id, |
238 geolocation_permission_context); | 238 geolocation_permission_context); |
239 } | 239 } |
OLD | NEW |