proximity_monitor_observer.h 713 B

12345678910111213141516171819202122
  1. // Copyright 2015 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. #ifndef ASH_COMPONENTS_PROXIMITY_AUTH_PROXIMITY_MONITOR_OBSERVER_H_
  5. #define ASH_COMPONENTS_PROXIMITY_AUTH_PROXIMITY_MONITOR_OBSERVER_H_
  6. namespace proximity_auth {
  7. // The observer interface for the ProximityMonitor class.
  8. class ProximityMonitorObserver {
  9. public:
  10. virtual ~ProximityMonitorObserver() {}
  11. // Callback to be called when the proximity state of the remote device
  12. // changes.
  13. virtual void OnProximityStateChanged() = 0;
  14. };
  15. } // namespace proximity_auth
  16. #endif // ASH_COMPONENTS_PROXIMITY_AUTH_PROXIMITY_MONITOR_OBSERVER_H_