| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_CHILD_GEOFENCING_GEOFENCING_MESSAGE_FILTER_H_ | |
| 6 #define CONTENT_CHILD_GEOFENCING_GEOFENCING_MESSAGE_FILTER_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "content/child/worker_thread_message_filter.h" | |
| 10 | |
| 11 namespace content { | |
| 12 | |
| 13 class GeofencingMessageFilter : public WorkerThreadMessageFilter { | |
| 14 public: | |
| 15 explicit GeofencingMessageFilter(ThreadSafeSender* thread_safe_sender); | |
| 16 | |
| 17 private: | |
| 18 ~GeofencingMessageFilter() override; | |
| 19 | |
| 20 // WorkerThreadMessageFilter: | |
| 21 bool ShouldHandleMessage(const IPC::Message& msg) const override; | |
| 22 void OnFilteredMessageReceived(const IPC::Message& msg) override; | |
| 23 bool GetWorkerThreadIdForMessage(const IPC::Message& msg, | |
| 24 int* ipc_thread_id) override; | |
| 25 | |
| 26 DISALLOW_COPY_AND_ASSIGN(GeofencingMessageFilter); | |
| 27 }; | |
| 28 | |
| 29 } // namespace content | |
| 30 | |
| 31 #endif // CONTENT_CHILD_GEOFENCING_GEOFENCING_MESSAGE_FILTER_H_ | |
| OLD | NEW |