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

Unified Diff: third_party/WebKit/Source/modules/geofencing/CircularGeofencingRegion.h

Issue 1972733002: Delete geofencing implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark histogram suffix as obsolete Created 4 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
Index: third_party/WebKit/Source/modules/geofencing/CircularGeofencingRegion.h
diff --git a/third_party/WebKit/Source/modules/geofencing/CircularGeofencingRegion.h b/third_party/WebKit/Source/modules/geofencing/CircularGeofencingRegion.h
deleted file mode 100644
index 79fbd416b8c2c0deda2f620a7af7efb3dfb4a393..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/geofencing/CircularGeofencingRegion.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CircularGeofencingRegion_h
-#define CircularGeofencingRegion_h
-
-#include "modules/ModulesExport.h"
-#include "modules/geofencing/GeofencingRegion.h"
-#include "public/platform/WebCircularGeofencingRegion.h"
-
-namespace blink {
-
-class CircularGeofencingRegionInit;
-
-class MODULES_EXPORT CircularGeofencingRegion final : public GeofencingRegion {
- DEFINE_WRAPPERTYPEINFO();
- WTF_MAKE_NONCOPYABLE(CircularGeofencingRegion);
-public:
- static CircularGeofencingRegion* create(const CircularGeofencingRegionInit&);
- static CircularGeofencingRegion* create(const WebString& id, const WebCircularGeofencingRegion&);
- ~CircularGeofencingRegion() override { }
-
- double latitude() const { return m_webRegion.latitude; }
- double longitude() const { return m_webRegion.longitude; }
- double radius() const { return m_webRegion.radius; }
-
- WebCircularGeofencingRegion webRegion() const;
-
- DEFINE_INLINE_VIRTUAL_TRACE() { GeofencingRegion::trace(visitor); }
-
- bool isCircularGeofencingRegion() const override { return true; }
-
-private:
- explicit CircularGeofencingRegion(const String& id, const WebCircularGeofencingRegion&);
-
- WebCircularGeofencingRegion m_webRegion;
-};
-
-DEFINE_TYPE_CASTS(CircularGeofencingRegion, GeofencingRegion, region, region->isCircularGeofencingRegion(), region.isCircularGeofencingRegion());
-
-} // namespace blink
-
-#endif // CircularGeofencingRegion_h

Powered by Google App Engine
This is Rietveld 408576698