1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ash / components / arc / net / arc_app_metadata_provider.h [blame]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_COMPONENTS_ARC_NET_ARC_APP_METADATA_PROVIDER_H_
#define ASH_COMPONENTS_ARC_NET_ARC_APP_METADATA_PROVIDER_H_
#include <string>
namespace arc {
// Delegate class to fetch app metadata from Chrome browser's prefs.
class ArcAppMetadataProvider {
public:
virtual ~ArcAppMetadataProvider() = default;
// Get ARC application package name from |app_id| through prefs.
virtual std::string GetAppPackageName(const std::string& app_id) = 0;
};
} // namespace arc
#endif // ASH_COMPONENTS_ARC_NET_ARC_APP_METADATA_PROVIDER_H_