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

Side by Side Diff: third_party/WebKit/Source/modules/geolocation/GeoNotifier.h

Issue 2642863002: Move geolocation timer to frame-specific TaskRunnerTimer. (Closed)
Patch Set: Use MiscPlatformAPI Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
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 Timer<GeoNotifier> m_timer; 64 TaskRunnerTimer<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
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698