#ifndef COMPONENTS_CACHED_FLAGS_ANDROID_JNI_DELEGATE_H_
#define COMPONENTS_CACHED_FLAGS_ANDROID_JNI_DELEGATE_H_
#include <map>
#include <vector>
namespace cached_flags {
class JniDelegate {
public:
virtual ~JniDelegate() = default;
virtual void CacheNativeFlagsImmediately(
const std::map<std::string, std::string>& features) = 0;
virtual void CacheFeatureParamsImmediately(
const std::map<std::string, std::map<std::string, std::string>>&
feature_params) = 0;
virtual void EraseNativeFlagCachedValues(
const std::vector<std::string>& features_to_erase) = 0;
virtual void EraseFeatureParamCachedValues(
const std::vector<std::string>& feature_params_to_erase) = 0;
};
}
#endif