// 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_

// 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_

Replace OVERRIDE and FINAL with override and final in content/browser/geofencing/[a-s]*
Replace OVERRIDE and FINAL with override and final in content/browser/geofencing/[a-s]*

BUG=417463

Review URL: https://codereview.chromium.org/631873002

Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#298382}
