desk_template_util.h 720 B

12345678910111213141516171819202122232425
  1. // Copyright 2022 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 COMPONENTS_DESKS_STORAGE_CORE_DESK_TEMPLATE_UTIL_H_
  5. #define COMPONENTS_DESKS_STORAGE_CORE_DESK_TEMPLATE_UTIL_H_
  6. #include <string>
  7. #include "ash/public/cpp/desk_template.h"
  8. namespace desks_storage {
  9. namespace desk_template_util {
  10. ash::DeskTemplate* FindOtherEntryWithName(
  11. const std::u16string& name,
  12. const base::GUID& uuid,
  13. const std::map<base::GUID, std::unique_ptr<ash::DeskTemplate>>& entries);
  14. } // namespace desk_template_util
  15. } // namespace desks_storage
  16. #endif // COMPONENTS_DESKS_STORAGE_CORE_DESK_TEMPLATE_UTIL_H_