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