| 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_SERVICE_H_ | 5 #ifndef CONTENT_BROWSER_GEOFENCING_GEOFENCING_SERVICE_H_ |
| 6 #define CONTENT_BROWSER_GEOFENCING_GEOFENCING_SERVICE_H_ | 6 #define CONTENT_BROWSER_GEOFENCING_GEOFENCING_SERVICE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" | 13 #include "base/macros.h" |
| 13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 14 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
| 15 #include "content/common/geofencing_types.h" | 16 #include "content/common/geofencing_types.h" |
| 16 | 17 |
| 17 namespace base { | 18 namespace base { |
| 18 template <typename T> | 19 template <typename T> |
| 19 struct DefaultSingletonTraits; | 20 struct DefaultSingletonTraits; |
| 20 } | 21 } |
| 21 | 22 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 int64_t next_registration_id_; | 101 int64_t next_registration_id_; |
| 101 RegistrationsMap registrations_; | 102 RegistrationsMap registrations_; |
| 102 scoped_ptr<GeofencingProvider> provider_; | 103 scoped_ptr<GeofencingProvider> provider_; |
| 103 | 104 |
| 104 DISALLOW_COPY_AND_ASSIGN(GeofencingServiceImpl); | 105 DISALLOW_COPY_AND_ASSIGN(GeofencingServiceImpl); |
| 105 }; | 106 }; |
| 106 | 107 |
| 107 } // namespace content | 108 } // namespace content |
| 108 | 109 |
| 109 #endif // CONTENT_BROWSER_GEOFENCING_GEOFENCING_SERVICE_H_ | 110 #endif // CONTENT_BROWSER_GEOFENCING_GEOFENCING_SERVICE_H_ |
| OLD | NEW |