summaryrefslogtreecommitdiffstats
path: root/components/proximity_auth/proximity_monitor_observer.h
blob: d8c87fb99fb618ef506c749e063eab14ff4801b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2015 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 COMPONENTS_PROXIMITY_AUTH_PROXIMITY_MONITOR_OBSERVER_H
#define COMPONENTS_PROXIMITY_AUTH_PROXIMITY_MONITOR_OBSERVER_H

namespace proximity_auth {

// The observer interface for the ProximityMonitor class.
class ProximityMonitorObserver {
 public:
  virtual ~ProximityMonitorObserver() {}

  // Callback to be called when the proximity state of the remote device
  // changes.
  virtual void OnProximityStateChanged() = 0;
};

}  // namespace proximity_auth

#endif  // COMPONENTS_PROXIMITY_AUTH_PROXIMITY_MONITOR_OBSERVER_H