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

Unified Diff: content/child/geofencing/web_geofencing_provider_impl.cc

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
« no previous file with comments | « content/child/geofencing/web_geofencing_provider_impl.h ('k') | content/common/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/geofencing/web_geofencing_provider_impl.cc
diff --git a/content/child/geofencing/web_geofencing_provider_impl.cc b/content/child/geofencing/web_geofencing_provider_impl.cc
deleted file mode 100644
index 5a475a4ebce71c4c251a90f5b6bf488d03a79215..0000000000000000000000000000000000000000
--- a/content/child/geofencing/web_geofencing_provider_impl.cc
+++ /dev/null
@@ -1,61 +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 "content/child/geofencing/web_geofencing_provider_impl.h"
-
-#include "content/child/geofencing/geofencing_dispatcher.h"
-#include "content/child/thread_safe_sender.h"
-
-namespace content {
-
-WebGeofencingProviderImpl::WebGeofencingProviderImpl(
- ThreadSafeSender* thread_safe_sender)
- : thread_safe_sender_(thread_safe_sender) {
-}
-
-WebGeofencingProviderImpl::~WebGeofencingProviderImpl() {
-}
-
-void WebGeofencingProviderImpl::SetMockProvider(bool service_available) {
- GetDispatcher()->SetMockProvider(service_available);
-}
-
-void WebGeofencingProviderImpl::ClearMockProvider() {
- GetDispatcher()->ClearMockProvider();
-}
-
-void WebGeofencingProviderImpl::SetMockPosition(double latitude,
- double longitude) {
- GetDispatcher()->SetMockPosition(latitude, longitude);
-}
-
-void WebGeofencingProviderImpl::registerRegion(
- const blink::WebString& regionId,
- const blink::WebCircularGeofencingRegion& region,
- blink::WebServiceWorkerRegistration* service_worker_registration,
- blink::WebGeofencingCallbacks* callbacks) {
- GetDispatcher()->RegisterRegion(
- regionId, region, service_worker_registration, callbacks);
-}
-
-void WebGeofencingProviderImpl::unregisterRegion(
- const blink::WebString& regionId,
- blink::WebServiceWorkerRegistration* service_worker_registration,
- blink::WebGeofencingCallbacks* callbacks) {
- GetDispatcher()->UnregisterRegion(
- regionId, service_worker_registration, callbacks);
-}
-
-void WebGeofencingProviderImpl::getRegisteredRegions(
- blink::WebServiceWorkerRegistration* service_worker_registration,
- blink::WebGeofencingRegionsCallbacks* callbacks) {
- GetDispatcher()->GetRegisteredRegions(service_worker_registration, callbacks);
-}
-
-GeofencingDispatcher* WebGeofencingProviderImpl::GetDispatcher() {
- return GeofencingDispatcher::GetOrCreateThreadSpecificInstance(
- thread_safe_sender_.get());
-}
-
-} // namespace content
« no previous file with comments | « content/child/geofencing/web_geofencing_provider_impl.h ('k') | content/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698