software_feature_state.cc 709 B

12345678910111213141516171819202122232425
  1. // Copyright 2018 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. #include "ash/components/multidevice/software_feature_state.h"
  5. namespace ash::multidevice {
  6. std::ostream& operator<<(std::ostream& stream,
  7. const SoftwareFeatureState& state) {
  8. switch (state) {
  9. case SoftwareFeatureState::kNotSupported:
  10. stream << "[not supported]";
  11. break;
  12. case SoftwareFeatureState::kSupported:
  13. stream << "[supported]";
  14. break;
  15. case SoftwareFeatureState::kEnabled:
  16. stream << "[enabled]";
  17. break;
  18. }
  19. return stream;
  20. }
  21. } // namespace ash::multidevice