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 GeoNotifier_h | 5 #ifndef GeoNotifier_h |
6 #define GeoNotifier_h | 6 #define GeoNotifier_h |
7 | 7 |
8 #include "modules/geolocation/PositionCallback.h" | 8 #include "modules/geolocation/PositionCallback.h" |
9 #include "modules/geolocation/PositionErrorCallback.h" | 9 #include "modules/geolocation/PositionErrorCallback.h" |
10 #include "modules/geolocation/PositionOptions.h" | 10 #include "modules/geolocation/PositionOptions.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 private: | 54 private: |
55 GeoNotifier(Geolocation*, | 55 GeoNotifier(Geolocation*, |
56 PositionCallback*, | 56 PositionCallback*, |
57 PositionErrorCallback*, | 57 PositionErrorCallback*, |
58 const PositionOptions&); | 58 const PositionOptions&); |
59 | 59 |
60 Member<Geolocation> m_geolocation; | 60 Member<Geolocation> m_geolocation; |
61 Member<PositionCallback> m_successCallback; | 61 Member<PositionCallback> m_successCallback; |
62 Member<PositionErrorCallback> m_errorCallback; | 62 Member<PositionErrorCallback> m_errorCallback; |
63 const PositionOptions m_options; | 63 const PositionOptions m_options; |
64 TaskRunnerTimer<GeoNotifier> m_timer; | 64 Timer<GeoNotifier> m_timer; |
65 Member<PositionError> m_fatalError; | 65 Member<PositionError> m_fatalError; |
66 bool m_useCachedPosition; | 66 bool m_useCachedPosition; |
67 }; | 67 }; |
68 | 68 |
69 } // namespace blink | 69 } // namespace blink |
70 | 70 |
71 #endif // GeoNotifier_h | 71 #endif // GeoNotifier_h |
OLD | NEW |