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

Unified Diff: content/child/geofencing/web_geofencing_provider_impl.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/child/geofencing/web_geofencing_provider_impl.h
diff --git a/content/child/geofencing/web_geofencing_provider_impl.h b/content/child/geofencing/web_geofencing_provider_impl.h
deleted file mode 100644
index da70d6d86ca76352b78245b464c1bda687a95dfd..0000000000000000000000000000000000000000
--- a/content/child/geofencing/web_geofencing_provider_impl.h
+++ /dev/null
@@ -1,56 +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_CHILD_GEOFENCING_WEB_GEOFENCING_PROVIDER_IMPL_H_
-#define CONTENT_CHILD_GEOFENCING_WEB_GEOFENCING_PROVIDER_IMPL_H_
-
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "content/common/content_export.h"
-#include "third_party/WebKit/public/platform/WebGeofencingProvider.h"
-
-namespace content {
-class GeofencingDispatcher;
-class ThreadSafeSender;
-
-class CONTENT_EXPORT WebGeofencingProviderImpl
- : NON_EXPORTED_BASE(public blink::WebGeofencingProvider) {
- public:
- explicit WebGeofencingProviderImpl(ThreadSafeSender* thread_safe_sender);
- ~WebGeofencingProviderImpl() override;
-
- // Enables mock geofencing service. |service_available| indicates if the
- // mock service should mock geofencing being available or not.
- void SetMockProvider(bool service_available);
- // Disables mock geofencing service.
- void ClearMockProvider();
- // Set the mock geofencing position.
- void SetMockPosition(double latitude, double longitude);
-
- private:
- // WebGeofencingProvider implementation.
- void registerRegion(
- const blink::WebString& regionId,
- const blink::WebCircularGeofencingRegion& region,
- blink::WebServiceWorkerRegistration* service_worker_registration,
- blink::WebGeofencingCallbacks* callbacks) override;
- void unregisterRegion(
- const blink::WebString& regionId,
- blink::WebServiceWorkerRegistration* service_worker_registration,
- blink::WebGeofencingCallbacks* callbacks) override;
- void getRegisteredRegions(
- blink::WebServiceWorkerRegistration* service_worker_registration,
- blink::WebGeofencingRegionsCallbacks* callbacks) override;
-
- GeofencingDispatcher* GetDispatcher();
-
- scoped_refptr<ThreadSafeSender> thread_safe_sender_;
-
- DISALLOW_COPY_AND_ASSIGN(WebGeofencingProviderImpl);
-};
-
-} // namespace content
-
-#endif // CONTENT_CHILD_GEOFENCING_WEB_GEOFENCING_PROVIDER_IMPL_H_
« no previous file with comments | « content/child/geofencing/geofencing_message_filter.cc ('k') | content/child/geofencing/web_geofencing_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698