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

Unified Diff: content/browser/geofencing/geofencing_provider.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: content/browser/geofencing/geofencing_provider.h
diff --git a/content/browser/geofencing/geofencing_provider.h b/content/browser/geofencing/geofencing_provider.h
deleted file mode 100644
index a2052a42951aaffed017b525820bd0d0ce008cc0..0000000000000000000000000000000000000000
--- a/content/browser/geofencing/geofencing_provider.h
+++ /dev/null
@@ -1,45 +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 CONTENT_BROWSER_GEOFENCING_GEOFENCING_PROVIDER_H_
-#define CONTENT_BROWSER_GEOFENCING_GEOFENCING_PROVIDER_H_
-
-#include <stdint.h>
-
-#include "base/callback_forward.h"
-#include "content/common/geofencing_types.h"
-
-namespace blink {
-struct WebCircularGeofencingRegion;
-};
-
-namespace content {
-
-class GeofencingProvider {
- public:
- typedef base::Callback<void(GeofencingStatus)> StatusCallback;
-
- virtual ~GeofencingProvider() {}
-
- // Called by |GeofencingService| to register a new fence. GeofencingService is
- // responsible for handling things like duplicate regions, so platform
- // specific implementations shouldn't have to worry about things like that.
- // Also GeofencingService should be making sure the total number of geofences
- // that is registered with the platform specific provider does not exceed the
- // number of regions supported by the platform, although that isn't
- // implemented yet.
- // Implementations of RegisterRegion must asynchronously call the |callback|
- // to indicate success or failure.
- virtual void RegisterRegion(int64_t geofencing_registration_id,
- const blink::WebCircularGeofencingRegion& region,
- const StatusCallback& callback) = 0;
-
- // Called by |GeofencingService| to unregister an existing registration. Will
- // only be called once for each registration.
- virtual void UnregisterRegion(int64_t geofencing_registration_id) = 0;
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_GEOFENCING_GEOFENCING_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698