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 #ifndef CONTENT_CHILD_GEOFENCING_GEOFENCING_DISPATCHER_H_ | 5 #ifndef CONTENT_CHILD_GEOFENCING_GEOFENCING_DISPATCHER_H_ |
6 #define CONTENT_CHILD_GEOFENCING_GEOFENCING_DISPATCHER_H_ | 6 #define CONTENT_CHILD_GEOFENCING_GEOFENCING_DISPATCHER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/id_map.h" | 11 #include "base/id_map.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "content/common/geofencing_types.h" | 15 #include "content/common/geofencing_types.h" |
15 #include "content/public/child/worker_thread.h" | 16 #include "content/public/child/worker_thread.h" |
16 #include "third_party/WebKit/public/platform/WebGeofencingProvider.h" | 17 #include "third_party/WebKit/public/platform/WebGeofencingProvider.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class MessageLoop; | 20 class MessageLoop; |
20 class TaskRunner; | 21 class TaskRunner; |
21 } | 22 } |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 region_unregistration_requests_; | 90 region_unregistration_requests_; |
90 IDMap<blink::WebGeofencingRegionsCallbacks, IDMapOwnPointer> | 91 IDMap<blink::WebGeofencingRegionsCallbacks, IDMapOwnPointer> |
91 get_registered_regions_requests_; | 92 get_registered_regions_requests_; |
92 | 93 |
93 DISALLOW_COPY_AND_ASSIGN(GeofencingDispatcher); | 94 DISALLOW_COPY_AND_ASSIGN(GeofencingDispatcher); |
94 }; | 95 }; |
95 | 96 |
96 } // namespace content | 97 } // namespace content |
97 | 98 |
98 #endif // CONTENT_CHILD_GEOFENCING_GEOFENCING_DISPATCHER_H_ | 99 #endif // CONTENT_CHILD_GEOFENCING_GEOFENCING_DISPATCHER_H_ |
OLD | NEW |