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

Unified Diff: content/renderer/service_worker/service_worker_context_client.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
Index: content/renderer/service_worker/service_worker_context_client.cc
diff --git a/content/renderer/service_worker/service_worker_context_client.cc b/content/renderer/service_worker/service_worker_context_client.cc
index 28b94731d060772d0b66bff96e6768f64825f9d1..a193d898edeadc62a9b76820d925c68c83da3d2e 100644
--- a/content/renderer/service_worker/service_worker_context_client.cc
+++ b/content/renderer/service_worker/service_worker_context_client.cc
@@ -28,7 +28,6 @@
#include "content/child/thread_safe_sender.h"
#include "content/child/webmessageportchannel_impl.h"
#include "content/common/devtools_messages.h"
-#include "content/common/geofencing_messages.h"
#include "content/common/message_port_messages.h"
#include "content/common/mojo/service_registry_impl.h"
#include "content/common/service_worker/embedded_worker_messages.h"
@@ -252,7 +251,6 @@ void ServiceWorkerContextClient::OnMessageReceived(
IPC_MESSAGE_HANDLER(ServiceWorkerMsg_NotificationCloseEvent,
OnNotificationCloseEvent)
IPC_MESSAGE_HANDLER(ServiceWorkerMsg_PushEvent, OnPushEvent)
- IPC_MESSAGE_HANDLER(ServiceWorkerMsg_GeofencingEvent, OnGeofencingEvent)
IPC_MESSAGE_HANDLER(ServiceWorkerMsg_DidGetClient, OnDidGetClient)
IPC_MESSAGE_HANDLER(ServiceWorkerMsg_DidGetClients, OnDidGetClients)
IPC_MESSAGE_HANDLER(ServiceWorkerMsg_OpenWindowResponse,
@@ -823,19 +821,6 @@ void ServiceWorkerContextClient::OnPushEvent(int request_id,
proxy_->dispatchPushEvent(request_id, data);
}
-void ServiceWorkerContextClient::OnGeofencingEvent(
- int request_id,
- blink::WebGeofencingEventType event_type,
- const std::string& region_id,
- const blink::WebCircularGeofencingRegion& region) {
- TRACE_EVENT0("ServiceWorker",
- "ServiceWorkerContextClient::OnGeofencingEvent");
- proxy_->dispatchGeofencingEvent(
- request_id, event_type, blink::WebString::fromUTF8(region_id), region);
- Send(new ServiceWorkerHostMsg_GeofencingEventFinished(
- GetRoutingID(), request_id, blink::WebServiceWorkerEventResultCompleted));
-}
-
void ServiceWorkerContextClient::OnDidGetClient(
int request_id,
const ServiceWorkerClientInfo& client) {

Powered by Google App Engine
This is Rietveld 408576698