blob: e4dbf965c8b9fc609dc1660a77e2261c760dfdde [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#ifndef SRC_DEVELOPER_EXCEPTION_BROKER_JSON_UTILS_H_
#define SRC_DEVELOPER_EXCEPTION_BROKER_JSON_UTILS_H_
#include <set>
#include <string>
namespace fuchsia {
namespace exception {
// |content| is the string contents of the config file loaded for ExceptionBroker.
// It is expected to be an object and this function will attempt to load the "filters" array
// within it.
std::set<std::string> ExtractFilters(const std::string& content);
} // namespace exception
} // namespace fuchsia
#endif // SRC_DEVELOPER_EXCEPTION_BROKER_JSON_UTILS_H_