| Index: content/browser/geofencing/geofencing_dispatcher_host.h
|
| diff --git a/content/browser/geofencing/geofencing_dispatcher_host.h b/content/browser/geofencing/geofencing_dispatcher_host.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4c6fb3e9d68be66ccf28e8c47ed9abcd085df789
|
| --- /dev/null
|
| +++ b/content/browser/geofencing/geofencing_dispatcher_host.h
|
| @@ -0,0 +1,40 @@
|
| +// 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_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_
|
| +#define CONTENT_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_
|
| +
|
| +#include "content/public/browser/browser_message_filter.h"
|
| +
|
| +namespace blink {
|
| +struct WebCircularGeofencingRegion;
|
| +}
|
| +
|
| +namespace content {
|
| +
|
| +class GeofencingDispatcherHost : public BrowserMessageFilter {
|
| + public:
|
| + GeofencingDispatcherHost();
|
| +
|
| + private:
|
| + virtual ~GeofencingDispatcherHost();
|
| +
|
| + // BrowserMessageFilter implementation.
|
| + virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
| +
|
| + void OnRegisterRegion(int thread_id,
|
| + int request_id,
|
| + const std::string& region_id,
|
| + const blink::WebCircularGeofencingRegion& region);
|
| + void OnUnregisterRegion(int thread_id,
|
| + int request_id,
|
| + const std::string& region_id);
|
| + void OnGetRegisteredRegions(int thread_id, int request_id);
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(GeofencingDispatcherHost);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_
|
|
|