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

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

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.cpp
diff --git a/third_party/WebKit/Source/modules/geofencing/CircularGeofencingRegion.cpp b/third_party/WebKit/Source/modules/geofencing/CircularGeofencingRegion.cpp
deleted file mode 100644
index 76d7a2fcd0ab8b137665c3762abd26b27a1e5735..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/geofencing/CircularGeofencingRegion.cpp
+++ /dev/null
@@ -1,40 +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.
-
-#include "modules/geofencing/CircularGeofencingRegion.h"
-
-#include "modules/geofencing/CircularGeofencingRegionInit.h"
-#include "public/platform/WebString.h"
-
-namespace blink {
-
-CircularGeofencingRegion* CircularGeofencingRegion::create(const CircularGeofencingRegionInit& init)
-{
- WebCircularGeofencingRegion region;
- if (init.hasLatitude())
- region.latitude = init.latitude();
- if (init.hasLongitude())
- region.longitude = init.longitude();
- if (init.hasRadius())
- region.radius = init.radius();
- return new CircularGeofencingRegion(init.id(), region);
-}
-
-CircularGeofencingRegion* CircularGeofencingRegion::create(const WebString& id, const WebCircularGeofencingRegion& region)
-{
- return new CircularGeofencingRegion(id, region);
-}
-
-CircularGeofencingRegion::CircularGeofencingRegion(const String& id, const WebCircularGeofencingRegion& region)
- : GeofencingRegion(id)
- , m_webRegion(region)
-{
-}
-
-WebCircularGeofencingRegion CircularGeofencingRegion::webRegion() const
-{
- return m_webRegion;
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698