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

Side by Side Diff: third_party/WebKit/Source/modules/geolocation/GeoNotifier.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/GeoNotifier.h" 5 #include "modules/geolocation/GeoNotifier.h"
6 6
7 #include "modules/geolocation/Geolocation.h" 7 #include "modules/geolocation/Geolocation.h"
8 #include "modules/geolocation/PositionError.h" 8 #include "modules/geolocation/PositionError.h"
9 #include "modules/geolocation/PositionOptions.h" 9 #include "modules/geolocation/PositionOptions.h"
10 #include "platform/Histogram.h" 10 #include "platform/Histogram.h"
11 #include "wtf/Assertions.h" 11 #include "platform/wtf/Assertions.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 GeoNotifier::GeoNotifier(Geolocation* geolocation, 15 GeoNotifier::GeoNotifier(Geolocation* geolocation,
16 PositionCallback* success_callback, 16 PositionCallback* success_callback,
17 PositionErrorCallback* error_callback, 17 PositionErrorCallback* error_callback,
18 const PositionOptions& options) 18 const PositionOptions& options)
19 : geolocation_(geolocation), 19 : geolocation_(geolocation),
20 success_callback_(success_callback), 20 success_callback_(success_callback),
21 error_callback_(error_callback), 21 error_callback_(error_callback),
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 DEFINE_STATIC_LOCAL(CustomCountHistogram, timeout_expired_histogram, 100 DEFINE_STATIC_LOCAL(CustomCountHistogram, timeout_expired_histogram,
101 ("Geolocation.TimeoutExpired", 0, 101 ("Geolocation.TimeoutExpired", 0,
102 1000 * 60 * 10 /* 10 minute max */, 20 /* buckets */)); 102 1000 * 60 * 10 /* 10 minute max */, 20 /* buckets */));
103 timeout_expired_histogram.Count(options_.timeout()); 103 timeout_expired_histogram.Count(options_.timeout());
104 104
105 geolocation_->RequestTimedOut(this); 105 geolocation_->RequestTimedOut(this);
106 } 106 }
107 107
108 } // namespace blink 108 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/gamepad/GamepadPose.h ('k') | third_party/WebKit/Source/modules/geolocation/Geolocation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698