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

Unified Diff: Source/modules/geolocation/Geolocation.h

Issue 297143003: Set default values for timeout and maximumAge of PositionOptions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change <limits> to <limits.h> Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/v8/custom/V8GeolocationCustom.cpp ('k') | Source/modules/geolocation/Geolocation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/geolocation/Geolocation.h
diff --git a/Source/modules/geolocation/Geolocation.h b/Source/modules/geolocation/Geolocation.h
index 30db160a45367d50f8bca1c1d5f5384a100aab0f..aac764f9d66cc1d2f269ef4e8969ebf2b939a811 100644
--- a/Source/modules/geolocation/Geolocation.h
+++ b/Source/modules/geolocation/Geolocation.h
@@ -117,9 +117,7 @@ private:
void runSuccessCallback(Geoposition*);
void runErrorCallback(PositionError*);
- // Starts the timer if a timeout was specified on the options.
- void startTimerIfNeeded();
-
+ void startTimer();
void stopTimer();
// Runs the error callback if there is a fatal error. Otherwise, if a
@@ -127,8 +125,6 @@ private:
// Otherwise, the notifier has expired, and its error callback is run.
void timerFired(Timer<GeoNotifier>*);
- bool hasZeroTimeout() const;
-
private:
GeoNotifier(Geolocation*, PassOwnPtr<PositionCallback>, PassOwnPtr<PositionErrorCallback>, PassRefPtrWillBeRawPtr<PositionOptions>);
« no previous file with comments | « Source/bindings/v8/custom/V8GeolocationCustom.cpp ('k') | Source/modules/geolocation/Geolocation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698