| 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_BROWSER_GEOFENCING_GEOFENCING_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_GEOFENCING_GEOFENCING_MANAGER_H_ |
| 6 #define CONTENT_BROWSER_GEOFENCING_GEOFENCING_MANAGER_H_ | 6 #define CONTENT_BROWSER_GEOFENCING_GEOFENCING_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "content/browser/geofencing/geofencing_registration_delegate.h" | 16 #include "content/browser/geofencing/geofencing_registration_delegate.h" |
| 17 #include "content/browser/service_worker/service_worker_context_observer.h" | 17 #include "content/browser/service_worker/service_worker_context_observer.h" |
| 18 #include "content/browser/service_worker/service_worker_storage.h" | 18 #include "content/browser/service_worker/service_worker_storage.h" |
| 19 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
| 20 #include "content/common/geofencing_types.h" | 20 #include "content/common/geofencing_types.h" |
| 21 #include "content/common/service_worker/service_worker_status_code.h" | 21 #include "content/common/service_worker/service_worker_status_code.h" |
| 22 | 22 |
| 23 namespace base { |
| 23 template <typename T> | 24 template <typename T> |
| 24 struct DefaultSingletonTraits; | 25 struct DefaultSingletonTraits; |
| 26 } // namespace base // namespace base |
| 27 |
| 25 class GURL; | 28 class GURL; |
| 26 | 29 |
| 27 namespace blink { | 30 namespace blink { |
| 28 struct WebCircularGeofencingRegion; | 31 struct WebCircularGeofencingRegion; |
| 29 }; | 32 }; |
| 30 | 33 |
| 31 namespace content { | 34 namespace content { |
| 32 | 35 |
| 33 class GeofencingService; | 36 class GeofencingService; |
| 34 class MockGeofencingService; | 37 class MockGeofencingService; |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 GeofencingService* service_; | 191 GeofencingService* service_; |
| 189 scoped_ptr<MockGeofencingService> mock_service_; | 192 scoped_ptr<MockGeofencingService> mock_service_; |
| 190 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; | 193 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; |
| 191 | 194 |
| 192 DISALLOW_COPY_AND_ASSIGN(GeofencingManager); | 195 DISALLOW_COPY_AND_ASSIGN(GeofencingManager); |
| 193 }; | 196 }; |
| 194 | 197 |
| 195 } // namespace content | 198 } // namespace content |
| 196 | 199 |
| 197 #endif // CONTENT_BROWSER_GEOFENCING_GEOFENCING_MANAGER_H_ | 200 #endif // CONTENT_BROWSER_GEOFENCING_GEOFENCING_MANAGER_H_ |
| OLD | NEW |