Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: third_party/WebKit/Source/modules/geolocation/GeolocationWatchers.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "modules/geolocation/GeolocationWatchers.h" 5 #include "modules/geolocation/GeolocationWatchers.h"
6 6
7 #include "modules/geolocation/GeoNotifier.h" 7 #include "modules/geolocation/GeoNotifier.h"
8 #include "wtf/Assertions.h" 8 #include "platform/wtf/Assertions.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 DEFINE_TRACE(GeolocationWatchers) { 12 DEFINE_TRACE(GeolocationWatchers) {
13 visitor->Trace(id_to_notifier_map_); 13 visitor->Trace(id_to_notifier_map_);
14 visitor->Trace(notifier_to_id_map_); 14 visitor->Trace(notifier_to_id_map_);
15 } 15 }
16 16
17 bool GeolocationWatchers::Add(int id, GeoNotifier* notifier) { 17 bool GeolocationWatchers::Add(int id, GeoNotifier* notifier) {
18 DCHECK_GT(id, 0); 18 DCHECK_GT(id, 0);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 bool GeolocationWatchers::IsEmpty() const { 59 bool GeolocationWatchers::IsEmpty() const {
60 return id_to_notifier_map_.IsEmpty(); 60 return id_to_notifier_map_.IsEmpty();
61 } 61 }
62 62
63 void GeolocationWatchers::GetNotifiersVector( 63 void GeolocationWatchers::GetNotifiersVector(
64 HeapVector<Member<GeoNotifier>>& copy) const { 64 HeapVector<Member<GeoNotifier>>& copy) const {
65 CopyValuesToVector(id_to_notifier_map_, copy); 65 CopyValuesToVector(id_to_notifier_map_, copy);
66 } 66 }
67 67
68 } // namespace blink 68 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698