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

Unified Diff: third_party/WebKit/public/platform/WebGeofencingProvider.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/public/platform/WebGeofencingProvider.h
diff --git a/third_party/WebKit/public/platform/WebGeofencingProvider.h b/third_party/WebKit/public/platform/WebGeofencingProvider.h
deleted file mode 100644
index 576c721d5e8f827eb712515b614a44bd390cd09b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/platform/WebGeofencingProvider.h
+++ /dev/null
@@ -1,41 +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 WebGeofencingProvider_h
-#define WebGeofencingProvider_h
-
-#include "public/platform/WebCallbacks.h"
-#include "public/platform/WebVector.h"
-
-namespace blink {
-
-struct WebCircularGeofencingRegion;
-struct WebGeofencingError;
-struct WebGeofencingRegistration;
-class WebServiceWorkerRegistration;
-class WebString;
-
-using WebGeofencingCallbacks = WebCallbacks<void, const WebGeofencingError&>;
-using WebGeofencingRegionsCallbacks = WebCallbacks<const WebVector<WebGeofencingRegistration>&, const WebGeofencingError&>;
-
-class WebGeofencingProvider {
-public:
- virtual ~WebGeofencingProvider() { }
-
- // Registers a region.
- // Ownership of the WebGeofencingCallbacks is transferred to the client.
- virtual void registerRegion(const WebString& regionId, const WebCircularGeofencingRegion&, WebServiceWorkerRegistration*, WebGeofencingCallbacks*) { }
-
- // Unregisters a region.
- // Ownership of the WebGeofencingCallbacks is transferred to the client.
- virtual void unregisterRegion(const WebString& regionId, WebServiceWorkerRegistration*, WebGeofencingCallbacks*) { }
-
- // Returns all the currently registered regions.
- // Ownership of the WebGeofencingRegionsCallbacks is transferred to the client.
- virtual void getRegisteredRegions(WebServiceWorkerRegistration*, WebGeofencingRegionsCallbacks*) { }
-};
-
-} // namespace blink
-
-#endif // WebGeofencingProvider_h

Powered by Google App Engine
This is Rietveld 408576698