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

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

Issue 401713005: Move all geofencing code into its own module separate from geolocation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test expectations Created 6 years, 4 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/modules/geolocation/GeofencingRegion.idl ('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 932eddfede9dab91c0b5fd1ec6de940bacffe23d..1d4c58f5e347f70c7e45289e61b4543eea0940eb 100644
--- a/Source/modules/geolocation/Geolocation.h
+++ b/Source/modules/geolocation/Geolocation.h
@@ -27,7 +27,6 @@
#ifndef Geolocation_h
#define Geolocation_h
-#include "bindings/core/v8/ScriptPromise.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/ActiveDOMObject.h"
#include "modules/geolocation/GeoNotifier.h"
@@ -45,7 +44,6 @@ namespace blink {
class Dictionary;
class Document;
class LocalFrame;
-class GeofencingRegion;
class GeolocationController;
class GeolocationError;
class GeolocationPosition;
@@ -97,10 +95,6 @@ public:
// Discards the notifier if it is a oneshot because it timed it.
void requestTimedOut(GeoNotifier*);
- ScriptPromise registerRegion(ScriptState*, GeofencingRegion*);
- ScriptPromise unregisterRegion(ScriptState*, const String& regionId);
- ScriptPromise getRegisteredRegions(ScriptState*) const;
-
private:
// Returns the last known position, if any. May return null.
Geoposition* lastPosition();
« no previous file with comments | « Source/modules/geolocation/GeofencingRegion.idl ('k') | Source/modules/geolocation/Geolocation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698