nearby_share_controller.h 708 B

1234567891011121314151617181920212223
  1. // Copyright 2020 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_PUBLIC_CPP_NEARBY_SHARE_CONTROLLER_H_
  5. #define ASH_PUBLIC_CPP_NEARBY_SHARE_CONTROLLER_H_
  6. #include "ash/public/cpp/ash_public_export.h"
  7. namespace ash {
  8. // Relays events from //chrome to //ash for Nearby Share.
  9. class ASH_PUBLIC_EXPORT NearbyShareController {
  10. public:
  11. virtual ~NearbyShareController() = default;
  12. // To be called whenever Nearby Share's High Visibility state changes.
  13. virtual void HighVisibilityEnabledChanged(bool enabled) = 0;
  14. };
  15. } // namespace ash
  16. #endif // ASH_PUBLIC_CPP_NEARBY_SHARE_CONTROLLER_H_