OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/child/geofencing/geofencing_dispatcher.h" | 5 #include "content/child/geofencing/geofencing_dispatcher.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
15 #include "content/child/service_worker/web_service_worker_registration_impl.h" | 15 #include "content/child/service_worker/web_service_worker_registration_impl.h" |
16 #include "content/child/thread_safe_sender.h" | 16 #include "content/child/thread_safe_sender.h" |
17 #include "content/common/geofencing_messages.h" | 17 #include "content/common/geofencing_messages.h" |
18 #include "content/common/service_worker/service_worker_types.h" | 18 #include "content/common/service_worker/service_worker_types.h" |
19 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" | 19 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" |
20 #include "third_party/WebKit/public/platform/WebGeofencingError.h" | 20 #include "third_party/WebKit/public/platform/WebGeofencingError.h" |
21 #include "third_party/WebKit/public/platform/WebGeofencingRegistration.h" | 21 #include "third_party/WebKit/public/platform/WebGeofencingRegistration.h" |
22 | 22 |
23 using blink::WebGeofencingError; | 23 using blink::WebGeofencingError; |
24 | 24 |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 blink::WebString::fromUTF8(GeofencingStatusToString(status)))); | 219 blink::WebString::fromUTF8(GeofencingStatusToString(status)))); |
220 } | 220 } |
221 get_registered_regions_requests_.Remove(request_id); | 221 get_registered_regions_requests_.Remove(request_id); |
222 } | 222 } |
223 | 223 |
224 void GeofencingDispatcher::WillStopCurrentWorkerThread() { | 224 void GeofencingDispatcher::WillStopCurrentWorkerThread() { |
225 delete this; | 225 delete this; |
226 } | 226 } |
227 | 227 |
228 } // namespace content | 228 } // namespace content |
OLD | NEW |