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

Unified Diff: content/child/geofencing/geofencing_message_filter.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/child/geofencing/geofencing_message_filter.cc
diff --git a/content/child/geofencing/geofencing_message_filter.cc b/content/child/geofencing/geofencing_message_filter.cc
deleted file mode 100644
index b30645c8753e588266b562e4bf041c316185f5a9..0000000000000000000000000000000000000000
--- a/content/child/geofencing/geofencing_message_filter.cc
+++ /dev/null
@@ -1,36 +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/geofencing_message_filter.h"
-
-#include "content/child/geofencing/geofencing_dispatcher.h"
-#include "ipc/ipc_message_macros.h"
-
-namespace content {
-
-GeofencingMessageFilter::GeofencingMessageFilter(ThreadSafeSender* sender)
- : WorkerThreadMessageFilter(sender) {
-}
-
-GeofencingMessageFilter::~GeofencingMessageFilter() {
-}
-
-bool GeofencingMessageFilter::ShouldHandleMessage(
- const IPC::Message& msg) const {
- return IPC_MESSAGE_CLASS(msg) == GeofencingMsgStart;
-}
-
-void GeofencingMessageFilter::OnFilteredMessageReceived(
- const IPC::Message& msg) {
- GeofencingDispatcher::GetOrCreateThreadSpecificInstance(thread_safe_sender())
- ->OnMessageReceived(msg);
-}
-
-bool GeofencingMessageFilter::GetWorkerThreadIdForMessage(
- const IPC::Message& msg,
- int* ipc_thread_id) {
- return base::PickleIterator(msg).ReadInt(ipc_thread_id);
-}
-
-} // namespace content
« no previous file with comments | « content/child/geofencing/geofencing_message_filter.h ('k') | content/child/geofencing/web_geofencing_provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698