legacy_app_id_mapper.h 569 B

1234567891011121314151617181920
  1. // Copyright 2021 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 CHROMECAST_BASE_LEGACY_APP_ID_MAPPER_H_
  5. #define CHROMECAST_BASE_LEGACY_APP_ID_MAPPER_H_
  6. #include <stdint.h>
  7. #include <string>
  8. namespace chromecast {
  9. // Calculates the AppID associated with |id| and returns it, or
  10. // |kAppUnknownFallback| if no such AppID exists.
  11. uint32_t MapLegacyAppId(const std::string& id);
  12. } // namespace chromecast
  13. #endif // CHROMECAST_BASE_LEGACY_APP_ID_MAPPER_H_