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 "config.h" | 5 #include "config.h" |
6 #include "modules/geolocation/GeolocationWatchers.h" | 6 #include "modules/geolocation/GeolocationWatchers.h" |
7 | 7 |
8 #include "modules/geolocation/GeoNotifier.h" | 8 #include "modules/geolocation/GeoNotifier.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 { | 61 { |
62 m_idToNotifierMap.clear(); | 62 m_idToNotifierMap.clear(); |
63 m_notifierToIdMap.clear(); | 63 m_notifierToIdMap.clear(); |
64 } | 64 } |
65 | 65 |
66 bool GeolocationWatchers::isEmpty() const | 66 bool GeolocationWatchers::isEmpty() const |
67 { | 67 { |
68 return m_idToNotifierMap.isEmpty(); | 68 return m_idToNotifierMap.isEmpty(); |
69 } | 69 } |
70 | 70 |
71 void GeolocationWatchers::getNotifiersVector(HeapVector<Member<GeoNotifier> >& c
opy) const | 71 void GeolocationWatchers::getNotifiersVector(HeapVector<Member<GeoNotifier>>& co
py) const |
72 { | 72 { |
73 copyValuesToVector(m_idToNotifierMap, copy); | 73 copyValuesToVector(m_idToNotifierMap, copy); |
74 } | 74 } |
75 | 75 |
76 } // namespace blink | 76 } // namespace blink |
OLD | NEW |