#include "mediapipe/util/resource_util.h"
#include <iostream>
#include "absl/strings/str_split.h"
#include "mediapipe/framework/deps/file_path.h"
#include "mediapipe/framework/port/file_helpers.h"
#include "mediapipe/framework/port/ret_check.h"
#include "mediapipe/util/resource_util_custom.h"
#include "mediapipe/util/resource_util_internal.h"
namespace mediapipe {
namespace {
ResourceProviderFn resource_provider_ = …;
}
absl::Status GetResourceContents(const std::string& path, std::string* output,
bool read_as_binary) { … }
bool HasCustomGlobalResourceProvider() { … }
void SetCustomGlobalResourceProvider(ResourceProviderFn fn) { … }
}